/external/clang/tools/libclang/ |
H A D | CXType.h | 22 class ASTUnit;
|
H A D | CXTranslationUnit.h | 22 class ASTUnit; 31 clang::ASTUnit *TheASTUnit; 41 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU); 43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { 49 /// \returns true if the ASTUnit has a diagnostic about the AST file being 51 bool isASTReadError(ASTUnit *AU);
|
H A D | CIndexer.h | 28 class ASTUnit; 90 void printDiagsToStderr(ASTUnit *Unit);
|
H A D | CIndexHigh.cpp | 16 #include "clang/Frontend/ASTUnit.h" 248 ASTUnit &Unit; 253 FindFileMacroRefVisitData(ASTUnit &Unit, const FileEntry *File, 316 ASTUnit *Unit = cxtu::getASTUnit(TU); 342 ASTUnit &Unit; 346 FindFileIncludesVisitor(ASTUnit &Unit, const FileEntry *File, 388 ASTUnit *Unit = cxtu::getASTUnit(TU); 440 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); 444 ASTUnit::ConcurrencyCheck Check(*CXXUnit); 503 ASTUnit *CXXUni [all...] |
H A D | CIndexInclusionStack.cpp | 19 #include "clang/Frontend/ASTUnit.h" 32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
|
H A D | CursorVisitor.h | 21 class ASTUnit; 66 ASTUnit *AU; 175 ASTUnit *getASTUnit() const { return AU; }
|
H A D | CXSourceLocation.cpp | 14 #include "clang/Frontend/ASTUnit.h" 135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); 136 ASTUnit::ConcurrencyCheck Check(*CXXUnit); 165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
|
H A D | CXCursor.h | 25 class ASTUnit; 251 ASTUnit *getCursorASTUnit(CXCursor Cursor);
|
H A D | CIndex.cpp | 30 #include "clang/Frontend/ASTUnit.h" 69 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { 83 bool cxtu::isASTReadError(ASTUnit *AU) { 84 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(), 249 ASTUnit *Unit = cxtu::getASTUnit(TU); 298 ASTUnit *Unit = cxtu::getASTUnit(TU); 515 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); 522 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), 2709 ASTUnit *AU = ASTUnit [all...] |
H A D | Indexing.cpp | 20 #include "clang/Frontend/ASTUnit.h" 594 ASTUnit *Unit = ASTUnit::create(CInvok.get(), Diags, 648 bool Success = ASTUnit::LoadFromCompilerInvocationAction(CInvok.get(), Diags, 694 static void indexPreprocessingRecord(ASTUnit &Unit, IndexingContext &IdxCtx) { 730 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IdxCtx) { 789 ASTUnit *Unit = cxtu::getASTUnit(TU); 793 ASTUnit::ConcurrencyCheck Check(*Unit);
|
H A D | CIndexDiagnostic.cpp | 19 #include "clang/Frontend/ASTUnit.h" 163 ASTUnit *AU = cxtu::getASTUnit(TU); 166 // In normal use, ASTUnit's diagnostics should not change unless we reparse. 176 // that ASTUnit will catch and add to its stored diagnostics vector. 186 // Diagnostics in the ASTUnit were updated, reset the associated 200 for (ASTUnit::stored_diag_iterator it = AU->stored_diag_begin(),
|
H A D | CXCursor.cpp | 29 #include "clang/Frontend/ASTUnit.h" 707 ASTUnit *TU = getCursorASTUnit(C); 854 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { 1108 ASTUnit *unit = getCursorASTUnit(cursor); 1122 ASTUnit *unit = getCursorASTUnit(cursor);
|
H A D | CIndexCodeCompletion.cpp | 26 #include "clang/Frontend/ASTUnit.h" 681 ASTUnit *AST = cxtu::getASTUnit(TU); 689 ASTUnit::ConcurrencyCheck Check(*AST); 692 SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles;
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1 //===--- ASTUnit.cpp - ASTUnit utility ------------------------------------===// 10 // ASTUnit Implementation. 14 #include "clang/Frontend/ASTUnit.h" 86 /// \brief Temporary files that should be removed when the ASTUnit is 108 typedef llvm::DenseMap<const ASTUnit *, OnDiskData *> OnDiskDataMap; 120 // Use the mutex because there can be an alive thread destroying an ASTUnit. 130 static OnDiskData &getOnDiskData(const ASTUnit *AU) { 141 static void erasePreambleFile(const ASTUnit *AU) { 145 static void removeOnDiskEntry(const ASTUnit *A 215 ASTUnit::ASTUnit(bool _MainFileIsAST) function in class:ASTUnit [all...] |
H A D | ASTMerge.cpp | 9 #include "clang/Frontend/ASTUnit.h" 48 ASTUnit *Unit = ASTUnit::LoadFromASTFile(ASTFiles[I], Diags,
|
H A D | Android.mk | 28 ASTUnit.cpp \
|
H A D | FrontendAction.cpp | 14 #include "clang/Frontend/ASTUnit.h" 130 ASTUnit *AST) { 190 ASTUnit *AST = ASTUnit::LoadFromASTFile(InputFile, Diags,
|
/external/clang/include/clang/Frontend/ |
H A D | FrontendAction.h | 32 class ASTUnit; 38 std::unique_ptr<ASTUnit> CurrentASTUnit; 144 ASTUnit &getCurrentASTUnit() const { 149 ASTUnit *takeCurrentASTUnit() { return CurrentASTUnit.release(); } 152 ASTUnit *AST = nullptr);
|
H A D | ASTUnit.h | 1 //===--- ASTUnit.h - ASTUnit utility ----------------------------*- C++ -*-===// 10 // ASTUnit utility class. 66 class ASTUnit : public ModuleLoader { class in namespace:clang 133 /// \brief Whether the ASTUnit should delete the remapped buffers. 136 /// Track the top-level decls which appeared in an ASTUnit which was loaded 140 // of a PCH file when using the Index library on an ASTUnit loaded from 153 /// The name of the original source file used to generate this ASTUnit. 310 ASTUnit &AST, bool CaptureDiagnostics); 420 ASTUnit(cons [all...] |
/external/clang/lib/Tooling/ |
H A D | Tooling.cpp | 20 #include "clang/Frontend/ASTUnit.h" 372 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 375 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} 380 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( 394 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { 399 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code, 404 std::unique_ptr<ASTUnit> 411 std::vector<std::unique_ptr<ASTUnit>> ASTs;
|
/external/clang/unittests/Tooling/ |
H A D | ToolingTest.cpp | 13 #include "clang/Frontend/ASTUnit.h" 84 bool FindClassDeclX(ASTUnit *AST) { 111 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); 313 std::vector<std::unique_ptr<ASTUnit>> ASTs; 345 std::vector<std::unique_ptr<ASTUnit>> ASTs;
|
/external/clang/include/clang/Tooling/ |
H A D | Tooling.h | 164 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code, 174 std::unique_ptr<ASTUnit> 287 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 13 #include "clang/Frontend/ASTUnit.h" 266 std::unique_ptr<ASTUnit> Unit( 267 ASTUnit::LoadFromCompilerInvocationAction(CInvok.release(), Diags)); 539 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
|
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.h | 14 #include "clang/Frontend/ASTUnit.h" 132 std::unique_ptr<ASTUnit> AST(buildASTFromCodeWithArgs(Code, Args));
|
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 62 class ASTUnit; // FIXME: Layering violation and egregious hack. 325 friend class ASTUnit; // ASTUnit needs to remap source locations.
|