Home
last modified time | relevance | path

Searched refs:CXTranslationUnit (Results 1 – 25 of 27) sorted by relevance

12

/external/clang/tools/libclang/
DCXCursor.h49 CXCursor getCursor(CXTranslationUnit, SourceLocation);
52 CXTranslationUnit TU);
53 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU,
57 CXTranslationUnit TU,
59 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr);
64 CXTranslationUnit TU);
74 CXTranslationUnit TU);
84 CXTranslationUnit TU);
93 CXTranslationUnit TU);
101 CXTranslationUnit TU);
[all …]
DCIndexer.h87 void PrintLibclangResourceUsage(CXTranslationUnit TU);
96 CXTranslationUnit TU);
100 CXTranslationUnit TU);
107 CXTranslationUnit TU);
114 CXTranslationUnit TU);
DCXString.h76 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
86 CXTranslationUnit TU;
88 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf()
94 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCXCursor.cpp35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
67 CXTranslationUnit TU) { in MakeCXCursor()
73 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
103 CXTranslationUnit TU, in MakeCXCursor()
594 CXTranslationUnit TU) { in MakeCursorObjCSuperClassRef()
610 CXTranslationUnit TU) { in MakeCursorObjCProtocolRef()
626 CXTranslationUnit TU) { in MakeCursorObjCClassRef()
644 CXTranslationUnit TU) { in MakeCursorTypeRef()
660 CXTranslationUnit TU) { in MakeCursorTemplateRef()
676 CXTranslationUnit TU) { in MakeCursorNamespaceRef()
[all …]
DCIndexHigh.cpp23 static void getTopOverriddenMethods(CXTranslationUnit TU, in getTopOverriddenMethods()
47 CXTranslationUnit TU;
56 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID, in FindFileIdRefVisitData()
215 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor, in findIdRefsInFile()
309 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, in findMacroRefsInFile()
384 static bool findIncludesInFile(CXTranslationUnit TU, const FileEntry *File, in findIncludesInFile()
481 CXResult clang_findIncludesInFile(CXTranslationUnit TU, CXFile file, in clang_findIncludesInFile()
529 CXResult clang_findIncludesInFileWithBlock(CXTranslationUnit TU, in clang_findIncludesInFileWithBlock()
DCXTranslationUnit.h43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit()
53 static inline bool isNotUsableTU(CXTranslationUnit TU) { in isNotUsableTU()
DIndexing.cpp40 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx);
403 CXTranslationUnit CXTU;
412 CXTranslationUnit cxTU, in IndexingFrontendAction()
475 CXTranslationUnit *out_TU;
493 CXTranslationUnit *out_TU = ITUI->out_TU; in clang_indexSourceFile_Impl()
687 CXTranslationUnit TU;
728 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) { in indexDiagnostics()
739 CXTranslationUnit TU = ITUI->TU; in clang_indexTranslationUnit_Impl()
965 CXTranslationUnit *out_TU, in clang_indexSourceFile()
1033 CXTranslationUnit TU) { in clang_indexTranslationUnit()
DCXString.cpp127 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
137 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
DCursorVisitor.h65 CXTranslationUnit TU;
144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
176 CXTranslationUnit getTU() const { return TU; } in getTU()
DCXType.cpp100 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType()
134 static inline CXTranslationUnit GetTU(CXType CT) { in GetTU()
135 return static_cast<CXTranslationUnit>(CT.data[1]); in GetTU()
143 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorType()
226 CXTranslationUnit TU = GetTU(CT); in clang_getTypeSpelling()
238 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getTypedefDeclUnderlyingType()
256 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getEnumDeclIntegerType()
324 CXTranslationUnit TU = GetTU(CT); in clang_getCanonicalType()
599 CXTranslationUnit TU = GetTU(X); in clang_isPODType()
DCIndexUSRs.cpp49 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR()
70 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR()
DCIndexDiagnostic.cpp160 CXDiagnosticSetImpl *cxdiag::lazyCreateDiags(CXTranslationUnit TU, in lazyCreateDiags()
212 unsigned clang_getNumDiagnostics(CXTranslationUnit Unit) { in clang_getNumDiagnostics()
222 CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit, unsigned Index) { in clang_getDiagnostic()
239 CXDiagnosticSet clang_getDiagnosticSetFromTU(CXTranslationUnit Unit) { in clang_getDiagnosticSetFromTU()
DCIndex.cpp73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit()
77 CXTranslationUnit D = new CXTranslationUnitImpl(); in MakeCXTranslationUnit()
517 CXTranslationUnit TU = getCursorTU(Cursor); in VisitChildren()
2855 CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx, in clang_createTranslationUnit()
2857 CXTranslationUnit TU; in clang_createTranslationUnit()
2868 CXTranslationUnit *out_TU) { in clang_createTranslationUnit2()
2898 CXTranslationUnit
2919 CXTranslationUnit *out_TU;
2930 CXTranslationUnit *out_TU = PTUI->out_TU; in clang_parseTranslationUnit_Impl()
3045 CXTranslationUnit
[all …]
DCXType.h26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
DCXComment.cpp370 CXTranslationUnit TU = CXC.TranslationUnit; in clang_HTMLTagComment_getAsString()
385 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsHTML()
400 CXTranslationUnit TU = CXC.TranslationUnit; in clang_FullComment_getAsXML()
DCXComment.h32 CXTranslationUnit TU) { in createCXComment()
DCIndexCodeCompletion.cpp528 CXTranslationUnit *TU;
532 CXTranslationUnit *TranslationUnit) in CaptureCompletionResults()
651 CXTranslationUnit TU;
661 CXTranslationUnit TU = CCAI->TU; in clang_codeCompleteAt_Impl()
811 CXCodeCompleteResults *clang_codeCompleteAt(CXTranslationUnit TU, in clang_codeCompleteAt()
DCIndexInclusionStack.cpp25 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, in clang_getInclusions()
DCLog.h68 Logger &operator<<(CXTranslationUnit);
DCXSourceLocation.cpp121 CXSourceLocation clang_getLocation(CXTranslationUnit TU, in clang_getLocation()
155 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, in clang_getLocationForOffset()
DCIndexDiagnostic.h159 CXDiagnosticSetImpl *lazyCreateDiags(CXTranslationUnit TU,
/external/clang/include/clang-c/
DIndex.h86 typedef struct CXTranslationUnitImpl *CXTranslationUnit; typedef
323 clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file);
335 CINDEX_LINKAGE CXFile clang_getFile(CXTranslationUnit tu,
405 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
413 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
627 CINDEX_LINKAGE CXSourceRangeList *clang_getSkippedRanges(CXTranslationUnit tu,
772 CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
783 CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
793 clang_getDiagnosticSetFromTU(CXTranslationUnit Unit);
1036 clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit);
[all …]
DDocumentation.h39 CXTranslationUnit TranslationUnit;
/external/clang/unittests/libclang/
DLibclangTest.cpp34 CXTranslationUnit TU = reinterpret_cast<CXTranslationUnit>(1); in TEST()
357 CXTranslationUnit ClangTU;
/external/clang/tools/c-index-test/
Dc-index-test.c84 static int checkForErrors(CXTranslationUnit TU);
117 CXTranslationUnit *TU) { in CreateTranslationUnit()
643 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); in PrintCursor()
953 typedef void (*PostVisitTU)(CXTranslationUnit);
1023 void PrintDiagnostics(CXTranslationUnit TU) { in PrintDiagnostics()
1029 void PrintMemoryUsage(CXTranslationUnit TU) { in PrintMemoryUsage()
1057 CXTranslationUnit TU;
1206 void PrintInclusionStack(CXTranslationUnit TU) { in PrintInclusionStack()
1452 static int perform_test_load(CXIndex Idx, CXTranslationUnit TU, in perform_test_load()
1508 CXTranslationUnit TU; in perform_test_load_tu()
[all …]

12