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.h98 void PrintLibclangResourceUsage(CXTranslationUnit TU);
106 SourceLocation MacroDefLoc, CXTranslationUnit TU);
110 CXTranslationUnit TU);
117 CXTranslationUnit TU);
124 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()
657 CXTranslationUnit TU) { in MakeCursorObjCSuperClassRef()
673 CXTranslationUnit TU) { in MakeCursorObjCProtocolRef()
689 CXTranslationUnit TU) { in MakeCursorObjCClassRef()
707 CXTranslationUnit TU) { in MakeCursorTypeRef()
723 CXTranslationUnit TU) { in MakeCursorTemplateRef()
739 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()
DCIndexInclusionStack.cpp25 CXTranslationUnit TU, CXInclusionVisitor CB, in getInclusions()
74 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, in clang_getInclusions()
DCXType.cpp103 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType()
142 static inline CXTranslationUnit GetTU(CXType CT) { in GetTU()
143 return static_cast<CXTranslationUnit>(CT.data[1]); in GetTU()
151 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorType()
228 CXTranslationUnit TU = GetTU(CT); in clang_getTypeSpelling()
240 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getTypedefDeclUnderlyingType()
258 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getEnumDeclIntegerType()
326 CXTranslationUnit TU = GetTU(CT); in clang_getCanonicalType()
613 CXTranslationUnit TU = GetTU(X); in clang_isPODType()
DCursorVisitor.h65 CXTranslationUnit TU;
144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
176 CXTranslationUnit getTU() const { return TU; } in getTU()
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()
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()
DCIndex.cpp71 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit()
75 CXTranslationUnit D = new CXTranslationUnitImpl(); in MakeCXTranslationUnit()
515 CXTranslationUnit TU = getCursorTU(Cursor); in VisitChildren()
3115 CXTranslationUnit clang_createTranslationUnit(CXIndex CIdx, in clang_createTranslationUnit()
3117 CXTranslationUnit TU; in clang_createTranslationUnit()
3128 CXTranslationUnit *out_TU) { in clang_createTranslationUnit2()
3160 CXTranslationUnit
3179 unsigned options, CXTranslationUnit *out_TU) { in clang_parseTranslationUnit_Impl()
3307 CXTranslationUnit
3315 CXTranslationUnit TU; in clang_parseTranslationUnit()
[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()
DIndexing.cpp420 ArrayRef<CXUnsavedFile> unsaved_files, CXTranslationUnit *out_TU, in clang_indexSourceFile_Impl()
637 unsigned index_options, CXTranslationUnit TU) { in clang_indexTranslationUnit_Impl()
843 CXTranslationUnit *out_TU, in clang_indexSourceFile()
860 CXTranslationUnit *out_TU, unsigned TU_options) { in clang_indexSourceFileFullArgv()
922 CXTranslationUnit TU) { in clang_indexTranslationUnit()
DCXIndexDataConsumer.h282 CXTranslationUnit CXTU;
337 unsigned indexOptions, CXTranslationUnit cxTU) in CXIndexDataConsumer()
343 CXTranslationUnit getCXTU() const { return CXTU; } in getCXTU()
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()
DCXSourceLocation.cpp121 CXSourceLocation clang_getLocation(CXTranslationUnit TU, in clang_getLocation()
155 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU, in clang_getLocationForOffset()
DCLog.h68 Logger &operator<<(CXTranslationUnit);
/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.c90 static int checkForErrors(CXTranslationUnit TU);
123 CXTranslationUnit *TU) { in CreateTranslationUnit()
660 CXTranslationUnit TU = clang_Cursor_getTranslationUnit(Cursor); in PrintCursor()
984 typedef void (*PostVisitTU)(CXTranslationUnit);
1054 void PrintDiagnostics(CXTranslationUnit TU) { in PrintDiagnostics()
1060 void PrintMemoryUsage(CXTranslationUnit TU) { in PrintMemoryUsage()
1088 CXTranslationUnit TU;
1237 void PrintInclusionStack(CXTranslationUnit TU) { in PrintInclusionStack()
1546 static int perform_test_load(CXIndex Idx, CXTranslationUnit TU, in perform_test_load()
1602 CXTranslationUnit TU; in perform_test_load_tu()
[all …]

12