/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 | 12 ASTUnit.cpp
|
D | Android.mk | 25 ASTUnit.cpp \
|
D | FrontendAction.cpp | 132 std::unique_ptr<ASTUnit> AST) { in setCurrentInput() 193 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
|
/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 | 30 class ASTUnit; variable 99 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 | 74 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() 88 bool cxtu::isASTReadError(ASTUnit *AU) { in isASTReadError() 89 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(), in isASTReadError() 253 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion() 302 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion() 519 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() 526 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() 3036 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile( in clang_createTranslationUnit2() 3107 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl() 3108 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl() [all …]
|
D | CXType.h | 22 class ASTUnit; variable
|
D | Indexing.cpp | 573 ASTUnit *Unit = ASTUnit::create(CInvok.get(), Diags, CaptureDiagnostics, in clang_indexSourceFile_Impl() 632 bool Success = ASTUnit::LoadFromCompilerInvocationAction( in clang_indexSourceFile_Impl() 658 static void indexPreprocessingRecord(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexPreprocessingRecord() 689 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexTranslationUnit() 738 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl() 742 ASTUnit::ConcurrencyCheck Check(*Unit); in clang_indexTranslationUnit_Impl()
|
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 | CXCursor.h | 25 class ASTUnit; variable 248 ASTUnit *getCursorASTUnit(CXCursor Cursor);
|
D | CIndexInclusionStack.cpp | 32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
|
D | CIndexDiagnostic.cpp | 162 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags() 199 for (ASTUnit::stored_diag_iterator it = AU->stored_diag_begin(), in lazyCreateDiags()
|
D | CIndexCodeCompletion.cpp | 669 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl() 677 ASTUnit::ConcurrencyCheck Check(*AST); in clang_codeCompleteAt_Impl() 680 SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in clang_codeCompleteAt_Impl()
|
D | CXCursor.cpp | 784 ASTUnit *TU = getCursorASTUnit(C); in getCursorPreprocessingDirective() 932 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { in getCursorASTUnit() 1320 ASTUnit *unit = getCursorASTUnit(cursor); in clang_getCursorCompletionString() 1334 ASTUnit *unit = getCursorASTUnit(cursor); in clang_getCursorCompletionString()
|
/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/lib/Tooling/ |
D | Tooling.cpp | 440 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 443 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction() 448 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation() 464 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs() 469 std::unique_ptr<ASTUnit> 476 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs() 483 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 185 std::unique_ptr<ASTUnit> 199 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( 323 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
/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() 403 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST() 435 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.h | 37 class ASTUnit; variable
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues() 547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
|