/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 109 typedef llvm::DenseMap<const ASTUnit *, 131 static OnDiskData &getOnDiskData(const ASTUnit *AU) { in getOnDiskData() 142 static void erasePreambleFile(const ASTUnit *AU) { in erasePreambleFile() 146 static void removeOnDiskEntry(const ASTUnit *AU) { in removeOnDiskEntry() 158 static void setPreambleFile(const ASTUnit *AU, StringRef preambleFile) { in setPreambleFile() 162 static const std::string &getPreambleFile(const ASTUnit *AU) { in getPreambleFile() 184 struct ASTUnit::ASTWriterData { 192 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls() 196 void ASTUnit::CleanTemporaryFiles() { in CleanTemporaryFiles() 200 void ASTUnit::addTemporaryFile(StringRef TempFile) { in addTemporaryFile() [all …]
|
D | ASTMerge.cpp | 48 std::unique_ptr<ASTUnit> Unit = in ExecuteAction() 49 ASTUnit::LoadFromASTFile(ASTFiles[I], CI.getPCHContainerReader(), in ExecuteAction()
|
D | CMakeLists.txt | 18 ASTUnit.cpp
|
/external/clang/tools/libclang/ |
D | CXTranslationUnit.h | 22 class ASTUnit; variable 31 clang::ASTUnit *TheASTUnit; 41 CXTranslationUnitImpl *MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU); 43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() 51 bool isASTReadError(ASTUnit *AU);
|
D | CIndexHigh.cpp | 248 ASTUnit &Unit; 253 FindFileMacroRefVisitData(ASTUnit &Unit, const FileEntry *File, in FindFileMacroRefVisitData() 316 ASTUnit *Unit = cxtu::getASTUnit(TU); in findMacroRefsInFile() 342 ASTUnit &Unit; 346 FindFileIncludesVisitor(ASTUnit &Unit, const FileEntry *File, in FindFileIncludesVisitor() 388 ASTUnit *Unit = cxtu::getASTUnit(TU); in findIncludesInFile() 440 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() 444 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile() 503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile() 507 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findIncludesInFile()
|
D | CIndexer.h | 31 class ASTUnit; variable 101 void printDiagsToStderr(ASTUnit *Unit);
|
D | CursorVisitor.h | 21 class ASTUnit; variable 66 ASTUnit *AU; 175 ASTUnit *getASTUnit() const { return AU; } in getASTUnit()
|
D | CIndex.cpp | 71 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() 85 bool cxtu::isASTReadError(ASTUnit *AU) { in isASTReadError() 86 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(), in isASTReadError() 250 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion() 299 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion() 516 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() 523 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() 3144 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile( in clang_createTranslationUnit2() 3218 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl() 3219 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl() [all …]
|
D | CXSourceLocation.cpp | 135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation() 136 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getLocation() 165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
|
D | CXType.h | 22 class ASTUnit; variable
|
D | Indexing.cpp | 521 ASTUnit *Unit = ASTUnit::create(CInvok.get(), Diags, CaptureDiagnostics, in clang_indexSourceFile_Impl() 585 bool Success = ASTUnit::LoadFromCompilerInvocationAction( in clang_indexSourceFile_Impl() 611 static void indexPreprocessingRecord(ASTUnit &Unit, CXIndexDataConsumer &IdxCtx) { in indexPreprocessingRecord() 660 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl() 664 ASTUnit::ConcurrencyCheck Check(*Unit); in clang_indexTranslationUnit_Impl()
|
D | CXCursor.h | 25 class ASTUnit; variable 248 ASTUnit *getCursorASTUnit(CXCursor Cursor);
|
D | CIndexInclusionStack.cpp | 28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 68 class ASTUnit : public ModuleLoader { 311 ASTUnit &AST, bool CaptureDiagnostics); 421 ASTUnit(const ASTUnit &) = delete; 422 void operator=(const ASTUnit &) = delete; 424 explicit ASTUnit(bool MainFileIsAST); 478 ASTUnit &Self; 481 explicit ConcurrencyCheck(ASTUnit &Self) in ConcurrencyCheck() 492 ~ASTUnit() override; 713 static ASTUnit *create(CompilerInvocation *CI, 728 static std::unique_ptr<ASTUnit> LoadFromASTFile( [all …]
|
D | FrontendAction.h | 38 std::unique_ptr<ASTUnit> CurrentASTUnit; 144 ASTUnit &getCurrentASTUnit() const { in getCurrentASTUnit() 149 std::unique_ptr<ASTUnit> takeCurrentASTUnit() { in takeCurrentASTUnit() 154 std::unique_ptr<ASTUnit> AST = nullptr);
|
/external/clang/unittests/AST/ |
D | PostOrderASTVisitor.cpp | 76 auto ASTUnit = tooling::buildASTFromCode( in TEST() local 83 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl(); in TEST() 101 auto ASTUnit = tooling::buildASTFromCode( in TEST() local 108 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl(); in TEST()
|
/external/clang/include/clang/Index/ |
D | IndexingAction.h | 17 class ASTUnit; variable 41 void indexASTUnit(ASTUnit &Unit,
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 464 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 467 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction() 472 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation() 487 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs() 492 std::unique_ptr<ASTUnit> 499 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs() 506 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 142 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() 168 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() 175 std::unique_ptr<ASTUnit> AST = in TEST()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 188 std::unique_ptr<ASTUnit> 204 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( 328 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
/external/clang/lib/Index/ |
D | IndexingAction.cpp | 165 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { in indexTranslationUnit() 169 void index::indexASTUnit(ASTUnit &Unit, in indexASTUnit()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 90 bool FindClassDeclX(ASTUnit *AST) { in FindClassDeclX() 121 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); in TEST() 458 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST() 490 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST()
|
/external/clang/tools/c-index-test/ |
D | core_main.cpp | 156 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in printSourceSymbols()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.h | 37 class ASTUnit; variable
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 272 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues() 548 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
|