/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 108 typedef llvm::DenseMap<const ASTUnit *, 130 static OnDiskData &getOnDiskData(const ASTUnit *AU) { in getOnDiskData() 141 static void erasePreambleFile(const ASTUnit *AU) { in erasePreambleFile() 145 static void removeOnDiskEntry(const ASTUnit *AU) { in removeOnDiskEntry() 157 static void setPreambleFile(const ASTUnit *AU, StringRef preambleFile) { in setPreambleFile() 161 static const std::string &getPreambleFile(const ASTUnit *AU) { in getPreambleFile() 183 struct ASTUnit::ASTWriterData { 191 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls() 195 void ASTUnit::CleanTemporaryFiles() { in CleanTemporaryFiles() 199 void ASTUnit::addTemporaryFile(StringRef TempFile) { in addTemporaryFile() [all …]
|
D | ASTMerge.cpp | 48 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( 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 = in BeginSourceFile() 194 ASTUnit::LoadFromASTFile(InputFile, Diags, CI.getFileSystemOpts()); 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 | 28 class ASTUnit; variable 90 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 | 73 CXTranslationUnit cxtu::MakeCXTranslationUnit(CIndexer *CIdx, ASTUnit *AU) { in MakeCXTranslationUnit() 87 bool cxtu::isASTReadError(ASTUnit *AU) { in isASTReadError() 88 for (ASTUnit::stored_diag_iterator D = AU->stored_diag_begin(), in isASTReadError() 252 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion() 301 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion() 518 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() 525 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren() 2884 std::unique_ptr<ASTUnit> AU = ASTUnit::LoadFromASTFile( in clang_createTranslationUnit2() 2967 std::unique_ptr<std::vector<ASTUnit::RemappedFile>> RemappedFiles( in clang_parseTranslationUnit_Impl() 2968 new std::vector<ASTUnit::RemappedFile>()); in clang_parseTranslationUnit_Impl() [all …]
|
D | CXType.h | 22 class ASTUnit; variable
|
D | Indexing.cpp | 593 ASTUnit *Unit = ASTUnit::create(CInvok.get(), Diags, in clang_indexSourceFile_Impl() 647 bool Success = ASTUnit::LoadFromCompilerInvocationAction(CInvok.get(), Diags, in clang_indexSourceFile_Impl() 693 static void indexPreprocessingRecord(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexPreprocessingRecord() 724 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IdxCtx) { in indexTranslationUnit() 783 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl() 787 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 251 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 | 682 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl() 690 ASTUnit::ConcurrencyCheck Check(*AST); in clang_codeCompleteAt_Impl() 693 SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in clang_codeCompleteAt_Impl()
|
D | CXCursor.cpp | 749 ASTUnit *TU = getCursorASTUnit(C); in getCursorPreprocessingDirective() 896 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { in getCursorASTUnit() 1284 ASTUnit *unit = getCursorASTUnit(cursor); in clang_getCursorCompletionString() 1298 ASTUnit *unit = getCursorASTUnit(cursor); in clang_getCursorCompletionString()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 66 class ASTUnit : public ModuleLoader { 309 ASTUnit &AST, bool CaptureDiagnostics); 419 ASTUnit(const ASTUnit &) = delete; 420 void operator=(const ASTUnit &) = delete; 422 explicit ASTUnit(bool MainFileIsAST); 474 ASTUnit &Self; 477 explicit ConcurrencyCheck(ASTUnit &Self) in ConcurrencyCheck() 488 ~ASTUnit() override; 709 static ASTUnit *create(CompilerInvocation *CI, 722 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 | 382 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 385 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction() 390 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation() 404 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs() 409 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code, in buildASTFromCode() 414 std::unique_ptr<ASTUnit> 421 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 171 std::unique_ptr<ASTUnit> buildASTFromCode(const Twine &Code, 181 std::unique_ptr<ASTUnit> 290 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 88 bool FindClassDeclX(ASTUnit *AST) { in FindClassDeclX() 119 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); in TEST() 306 std::vector<std::unique_ptr<ASTUnit>> ASTs; in TEST() 338 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 | 266 std::unique_ptr<ASTUnit> Unit( in checkForManualIssues() 267 ASTUnit::LoadFromCompilerInvocationAction(CInvok.release(), Diags)); in checkForManualIssues() 539 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
|