Searched refs:ASTUnit (Results 1 – 12 of 12) sorted by relevance
/freebsd/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 | 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()
|
/freebsd/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);
|
/freebsd/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 …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Index/ |
H A D | IndexingAction.h | 24 class ASTUnit; variable 54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 372 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
|
/freebsd/lib/clang/libclang/ |
H A D | Makefile | 450 SRCS_MIN+= Frontend/ASTUnit.cpp
|