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.h96 void PrintLibclangResourceUsage(CXTranslationUnit TU);
104 SourceLocation MacroDefLoc, CXTranslationUnit TU);
108 CXTranslationUnit TU);
115 CXTranslationUnit TU);
122 CXTranslationUnit TU);
DCXString.h78 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
88 CXTranslationUnit TU;
90 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf()
96 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCXCursor.cpp35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
70 CXTranslationUnit TU) { in MakeCXCursor()
76 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
106 CXTranslationUnit TU, in MakeCXCursor()
629 CXTranslationUnit TU) { in MakeCursorObjCSuperClassRef()
645 CXTranslationUnit TU) { in MakeCursorObjCProtocolRef()
661 CXTranslationUnit TU) { in MakeCursorObjCClassRef()
679 CXTranslationUnit TU) { in MakeCursorTypeRef()
695 CXTranslationUnit TU) { in MakeCursorTemplateRef()
711 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()
472 ArrayRef<CXUnsavedFile> unsaved_files, CXTranslationUnit *out_TU, in clang_indexSourceFile_Impl()
693 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) { in indexDiagnostics()
704 unsigned index_options, CXTranslationUnit TU) { in clang_indexTranslationUnit_Impl()
920 CXTranslationUnit *out_TU, in clang_indexSourceFile()
937 CXTranslationUnit *out_TU, unsigned TU_options) { in clang_indexSourceFileFullArgv()
999 CXTranslationUnit TU) { in clang_indexTranslationUnit()
DCursorVisitor.h65 CXTranslationUnit TU;
144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
176 CXTranslationUnit getTU() const { return TU; } in getTU()
DCXType.cpp101 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType()
140 static inline CXTranslationUnit GetTU(CXType CT) { in GetTU()
141 return static_cast<CXTranslationUnit>(CT.data[1]); in GetTU()
149 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()
600 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()
DCXString.cpp136 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
146 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
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()
DCXType.h26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
DCIndex.cpp74 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit()
78 CXTranslationUnit D = new CXTranslationUnitImpl(); in MakeCXTranslationUnit()
518 CXTranslationUnit TU = getCursorTU(Cursor); in VisitChildren()
3007 CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx, in clang_createTranslationUnit()
3009 CXTranslationUnit TU; in clang_createTranslationUnit()
3020 CXTranslationUnit *out_TU) { in clang_createTranslationUnit2()
3052 CXTranslationUnit
3071 unsigned options, CXTranslationUnit *out_TU) { in clang_parseTranslationUnit_Impl()
3196 CXTranslationUnit
3204 CXTranslationUnit TU; in clang_parseTranslationUnit()
[all …]
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()
DCIndexInclusionStack.cpp25 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, in clang_getInclusions()
DCIndexCodeCompletion.cpp528 CXTranslationUnit *TU;
532 CXTranslationUnit *TranslationUnit) in CaptureCompletionResults()
650 clang_codeCompleteAt_Impl(CXTranslationUnit TU, const char *complete_filename, in clang_codeCompleteAt_Impl()
798 CXCodeCompleteResults *clang_codeCompleteAt(CXTranslationUnit TU, in clang_codeCompleteAt()
DCLog.h68 Logger &operator<<(CXTranslationUnit);
DCIndexDiagnostic.h159 CXDiagnosticSetImpl *lazyCreateDiags(CXTranslationUnit TU,
DCXSourceLocation.cpp121 CXSourceLocation clang_getLocation(CXTranslationUnit TU, in clang_getLocation()
155 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, in clang_getLocationForOffset()
/external/clang/include/clang-c/
DIndex.h86 typedef struct CXTranslationUnitImpl *CXTranslationUnit; typedef
322 clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file);
334 CINDEX_LINKAGE CXFile clang_getFile(CXTranslationUnit tu,
404 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
412 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
626 CINDEX_LINKAGE CXSourceRangeList *clang_getSkippedRanges(CXTranslationUnit tu,
770 CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
781 CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
791 clang_getDiagnosticSetFromTU(CXTranslationUnit Unit);
1034 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.c86 static int checkForErrors(CXTranslationUnit TU);
119 CXTranslationUnit *TU) { in CreateTranslationUnit()
656 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); in PrintCursor()
968 typedef void (*PostVisitTU)(CXTranslationUnit);
1038 void PrintDiagnostics(CXTranslationUnit TU) { in PrintDiagnostics()
1044 void PrintMemoryUsage(CXTranslationUnit TU) { in PrintMemoryUsage()
1072 CXTranslationUnit TU;
1221 void PrintInclusionStack(CXTranslationUnit TU) { in PrintInclusionStack()
1514 static int perform_test_load(CXIndex Idx, CXTranslationUnit TU, in perform_test_load()
1570 CXTranslationUnit TU; in perform_test_load_tu()
[all …]

12