Home
last modified time | relevance | path

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

123

/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()
DCursorVisitor.h65 CXTranslationUnit TU;
144 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
176 CXTranslationUnit getTU() const { return TU; } in getTU()
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()
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()
DCXType.h26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
/external/llvm-project/clang/tools/libclang/
DCXCursor.h48 CXCursor getCursor(CXTranslationUnit, SourceLocation);
51 CXTranslationUnit TU);
52 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU,
56 CXTranslationUnit TU,
58 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr);
62 SourceLocation Loc, CXTranslationUnit TU);
71 SourceLocation Loc, CXTranslationUnit TU);
80 SourceLocation Loc, CXTranslationUnit TU);
89 CXTranslationUnit TU);
97 CXTranslationUnit TU);
[all …]
DCXString.h77 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
87 CXTranslationUnit TU;
89 CXStringBuf(CXTranslationUnit TU) : TU(TU) {} in CXStringBuf()
95 CXStringBuf *getCXStringBuf(CXTranslationUnit TU);
DCIndexer.h123 void PrintLibclangResourceUsage(CXTranslationUnit TU);
131 SourceLocation MacroDefLoc, CXTranslationUnit TU);
135 CXTranslationUnit TU);
142 CXTranslationUnit TU);
149 CXTranslationUnit TU);
DCXCursor.cpp34 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
133 CXTranslationUnit TU) { in MakeCXCursor()
139 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
170 CXTranslationUnit TU, in MakeCXCursor()
814 CXTranslationUnit TU) { in MakeCursorObjCSuperClassRef()
830 CXTranslationUnit TU) { in MakeCursorObjCProtocolRef()
846 CXTranslationUnit TU) { in MakeCursorObjCClassRef()
864 CXTranslationUnit TU) { in MakeCursorTypeRef()
880 CXTranslationUnit TU) { in MakeCursorTemplateRef()
896 CXTranslationUnit TU) { in MakeCursorNamespaceRef()
[all …]
DCXTranslationUnit.h40 CXTranslationUnit TranslationUnit;
49 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit()
59 static inline bool isNotUsableTU(CXTranslationUnit TU) { in isNotUsableTU()
DCIndexHigh.cpp22 static void getTopOverriddenMethods(CXTranslationUnit TU, in getTopOverriddenMethods()
46 CXTranslationUnit TU;
55 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID, in FindFileIdRefVisitData()
212 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor, in findIdRefsInFile()
306 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, in findMacroRefsInFile()
381 static bool findIncludesInFile(CXTranslationUnit TU, const FileEntry *File, in findIncludesInFile()
478 CXResult clang_findIncludesInFile(CXTranslationUnit TU, CXFile file, in clang_findIncludesInFile()
526 CXResult clang_findIncludesInFileWithBlock(CXTranslationUnit TU, in clang_findIncludesInFileWithBlock()
DCIndexInclusionStack.cpp22 void getInclusions(bool IsLocal, unsigned n, CXTranslationUnit TU, in getInclusions()
69 void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, in clang_getInclusions()
DCursorVisitor.h73 CXTranslationUnit TU;
150 CursorVisitor(CXTranslationUnit TU, CXCursorVisitor Visitor,
179 CXTranslationUnit getTU() const { return TU; } in getTU()
DCIndexUSRs.cpp46 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR()
67 CXTranslationUnit TU = cxcursor::getCursorTU(C); in clang_getCursorUSR()
DCXString.cpp134 CXStringBuf *CXStringPool::getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
144 CXStringBuf *getCXStringBuf(CXTranslationUnit TU) { in getCXStringBuf()
/external/llvm-project/clang/include/clang-c/
DIndex.h86 typedef struct CXTranslationUnitImpl *CXTranslationUnit; typedef
388 CINDEX_LINKAGE unsigned clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu,
401 CINDEX_LINKAGE CXFile clang_getFile(CXTranslationUnit tu,
416 CINDEX_LINKAGE const char *clang_getFileContents(CXTranslationUnit tu,
493 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
500 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
708 CINDEX_LINKAGE CXSourceRangeList *clang_getSkippedRanges(CXTranslationUnit tu,
719 clang_getAllSkippedRanges(CXTranslationUnit tu);
861 CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
872 CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
[all …]
/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 …]
/external/rust/crates/clang-sys/src/
Dlib.rs1291 opaque!(CXTranslationUnit);
1308 pub TranslationUnit: CXTranslationUnit,
1789 pub fn clang_Cursor_getTranslationUnit(cursor: CXCursor) -> CXTranslationUnit;
1853 pub fn clang_Module_getNumTopLevelHeaders(tu: CXTranslationUnit, module: CXModule) -> c_uint;
1855 …pub fn clang_Module_getTopLevelHeader(tu: CXTranslationUnit, module: CXModule, index: c_uint) -> C…
1919 …pub fn clang_annotateTokens(tu: CXTranslationUnit, tokens: *mut CXToken, n_tokens: c_uint, cursors…
1920 …pub fn clang_codeCompleteAt(tu: CXTranslationUnit, file: *const c_char, line: c_uint, column: c_ui…
1935 pub fn clang_createTranslationUnit(index: CXIndex, file: *const c_char) -> CXTranslationUnit;
1936 …reateTranslationUnit2(index: CXIndex, file: *const c_char, tu: *mut CXTranslationUnit) -> CXErrorC…
1937 …uments: *const *const c_char, n_unsaved: c_uint, unsaved: *mut CXUnsavedFile) -> CXTranslationUnit;
[all …]

123