Searched refs:ASTUnit (Results 1 - 15 of 15) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CrossTU/ |
H A D | CrossTranslationUnit.h | 30 class ASTUnit; 159 /// \return Returns a pointer to the ASTUnit that contains the definition of 164 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName, 175 ASTUnit *Unit); 177 ASTUnit *Unit); 189 /// ASTUnit object (the AST was loaded from a file using an internal ASTUnit 193 llvm::Optional<std::pair<SourceLocation /*FromLoc*/, ASTUnit *>> 198 llvm::DenseMap<FileID, std::pair<FileID, ASTUnit *>>; 201 ASTImporter &getOrCreateASTImporter(ASTUnit *Uni [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1 //===- ASTUnit.cpp - ASTUnit utility --------------------------------------===// 9 // ASTUnit Implementation. 13 #include "clang/Frontend/ASTUnit.h" 217 struct ASTUnit::ASTWriterData { 226 void ASTUnit::clearFileLevelDecls() { 236 /// Tracks the number of ASTUnit objects that are currently active. 241 ASTUnit::ASTUnit(bool _MainFileIsAST) function in class:ASTUnit 250 ASTUnit [all...] |
H A D | ASTMerge.cpp | 8 #include "clang/Frontend/ASTUnit.h" 49 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( 50 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags,
|
H A D | FrontendAction.cpp | 15 #include "clang/Frontend/ASTUnit.h" 138 std::unique_ptr<ASTUnit> AST) { 577 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( 579 ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(), 645 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( 647 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(),
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | ModelInjector.h | 32 class ASTUnit;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Index/ |
H A D | IndexingAction.h | 24 class ASTUnit; 54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 1 //===- ASTUnit.h - ASTUnit utility ------------------------------*- C++ -*-===// 9 // ASTUnit utility class. 89 class ASTUnit { class in namespace:clang 161 /// Whether the ASTUnit should delete the remapped buffers. 164 /// Track the top-level decls which appeared in an ASTUnit which was loaded 168 // of a PCH file when using the Index library on an ASTUnit loaded from 181 /// The name of the original source file used to generate this ASTUnit. 256 ASTUnit &AST, CaptureDiagsKind CaptureDiagnostics); 368 explicit ASTUnit(boo [all...] |
H A D | FrontendAction.h | 23 #include "clang/Frontend/ASTUnit.h" 38 std::unique_ptr<ASTUnit> CurrentASTUnit; 156 ASTUnit &getCurrentASTUnit() const { 163 std::unique_ptr<ASTUnit> takeCurrentASTUnit() { 168 std::unique_ptr<ASTUnit> AST = nullptr);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/ |
H A D | CrossTranslationUnit.cpp | 18 #include "clang/Frontend/ASTUnit.h" 263 llvm::Expected<ASTUnit *> ASTUnitOrError = 267 ASTUnit *Unit = *ASTUnitOrError; 374 llvm::Expected<ASTUnit *> 393 std::unique_ptr<ASTUnit> LoadedUnit = std::move(LoadAttempt.get()); 396 ASTUnit *Unit = LoadedUnit.get(); 414 llvm::Expected<ASTUnit *> 421 // Load the ASTUnit from the pre-dumped AST file specified by ASTFileName. 436 if (llvm::Expected<ASTUnit *> FoundForFile = 483 llvm::Expected<ASTUnit *> CrossTranslationUnitContex [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | Tooling.cpp | 27 #include "clang/Frontend/ASTUnit.h" 573 std::vector<std::unique_ptr<ASTUnit>> &ASTs; 576 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} 582 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( 598 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { 614 std::unique_ptr<ASTUnit> 621 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( 626 std::vector<std::unique_ptr<ASTUnit>> ASTs;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | Tooling.h | 204 std::unique_ptr<ASTUnit> 222 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( 359 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexingAction.cpp | 161 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { 175 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 13 #include "clang/Frontend/ASTUnit.h" 271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( 547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 353 friend class ASTUnit; // ASTUnit needs to remap source locations.
|
/freebsd-13-stable/lib/clang/libclang/ |
H A D | Makefile | 370 SRCS_MIN+= Frontend/ASTUnit.cpp
|
Completed in 127 milliseconds