| /src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 217 struct ASTUnit::ASTWriterData { 226 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls() 241 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit 250 ASTUnit::~ASTUnit() { in ~ASTUnit() 274 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) { in setPreprocessor() 278 void ASTUnit::enableSourceFileDiagnostics() { in enableSourceFileDiagnostics() 364 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults() 507 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults() 658 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags; 666 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags, in FilterAndStoreDiagnosticConsumer() [all …]
|
| H A D | ASTMerge.cpp | 49 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( in ExecuteAction() 50 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags, in ExecuteAction()
|
| H A D | FrontendAction.cpp | 152 std::unique_ptr<ASTUnit> AST) { in setCurrentInput() 627 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile() 629 ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(), in BeginSourceFile() 695 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile() 697 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(), in BeginSourceFile()
|
| /src/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 89 class ASTUnit { 258 ASTUnit &AST, CaptureDiagsKind CaptureDiagnostics); 371 explicit ASTUnit(bool MainFileIsAST); 411 ASTUnit &Self; 414 explicit ConcurrencyCheck(ASTUnit &Self) : Self(Self) { in ConcurrencyCheck() 423 ASTUnit(const ASTUnit &) = delete; 424 ASTUnit &operator=(const ASTUnit &) = delete; 425 ~ASTUnit(); 668 static std::unique_ptr<ASTUnit> 694 static std::unique_ptr<ASTUnit> [all …]
|
| H A D | FrontendAction.h | 38 std::unique_ptr<ASTUnit> CurrentASTUnit; 156 ASTUnit &getCurrentASTUnit() const { in getCurrentASTUnit() 163 std::unique_ptr<ASTUnit> takeCurrentASTUnit() { in takeCurrentASTUnit() 168 std::unique_ptr<ASTUnit> AST = nullptr);
|
| /src/contrib/llvm-project/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 31 class ASTUnit; variable 168 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName, 179 ASTUnit *Unit); 181 ASTUnit *Unit); 210 ASTImporter &getOrCreateASTImporter(ASTUnit *Unit); 220 llvm::Expected<const T *> importDefinitionImpl(const T *D, ASTUnit *Unit); 230 using LoadResultTy = llvm::Expected<std::unique_ptr<ASTUnit>>; 305 llvm::Expected<ASTUnit *> getASTUnitForFunction(StringRef FunctionName, 325 llvm::Expected<ASTUnit *> getASTUnitForFile(StringRef FileName, 329 using OwningMapTy = BaseMapTy<std::unique_ptr<clang::ASTUnit>>; [all …]
|
| /src/contrib/llvm-project/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 290 llvm::Expected<ASTUnit *> ASTUnitOrError = in getCrossTUDefinitionImpl() 294 ASTUnit *Unit = *ASTUnitOrError; in getCrossTUDefinitionImpl() 401 llvm::Expected<ASTUnit *> 420 std::unique_ptr<ASTUnit> LoadedUnit = std::move(LoadAttempt.get()); in getASTUnitForFile() 423 ASTUnit *Unit = LoadedUnit.get(); in getASTUnitForFile() 441 llvm::Expected<ASTUnit *> 463 if (llvm::Expected<ASTUnit *> FoundForFile = in getASTUnitForFunction() 510 llvm::Expected<ASTUnit *> CrossTranslationUnitContext::loadExternalAST( in loadExternalAST() 519 llvm::Expected<ASTUnit *> Unit = ASTStorage.getASTUnitForFunction( in loadExternalAST() 568 return ASTUnit::LoadFromASTFile( in loadFromDump() [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Index/ |
| H A D | IndexingAction.h | 24 class ASTUnit; variable 54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
|
| /src/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 644 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 647 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction() 653 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation() 669 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs() 681 std::unique_ptr<ASTUnit> 688 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs() 693 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
|
| /src/contrib/llvm-project/clang/include/clang/Tooling/ |
| H A D | Tooling.h | 211 std::unique_ptr<ASTUnit> 229 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( 365 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
| /src/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | CodeCompletion.cpp | 364 std::unique_ptr<ASTUnit> AU(ASTUnit::LoadFromCompilerInvocationAction( in codeComplete() 374 llvm::SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in codeComplete()
|
| /src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 269 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues() 547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
|
| /src/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 206 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { in indexTranslationUnit() 260 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer, in indexASTUnit()
|
| /src/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 372 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
|
| /src/lib/clang/libclang/ |
| H A D | Makefile | 471 SRCS_MIN+= Frontend/ASTUnit.cpp
|