Home
last modified time | relevance | path

Searched refs:ASTUnit (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp240 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
249 ASTUnit::~ASTUnit() { in ~ASTUnit()
789 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
796 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
973 ASTUnit &Unit;
1032 ASTUnit &Unit;
1521 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1537 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1708 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1717 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
[all …]
H A DASTMerge.cpp49 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( in ExecuteAction()
50 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags, in ExecuteAction()
H A DFrontendAction.cpp152 std::unique_ptr<ASTUnit> AST) { in setCurrentInput()
621 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
623 ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(), in BeginSourceFile()
689 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
691 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(), in BeginSourceFile()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h89 class ASTUnit {
371 explicit ASTUnit(bool MainFileIsAST);
411 ASTUnit &Self;
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> LoadFromASTFile(
754 static ASTUnit *LoadFromCompilerInvocationAction(
765 std::unique_ptr<ASTUnit> *ErrAST = nullptr);
[all …]
H A DFrontendAction.h38 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-14.2/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h31 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-14.2/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp290 llvm::Expected<ASTUnit *> ASTUnitOrError = in getCrossTUDefinitionImpl()
294 ASTUnit *Unit = *ASTUnitOrError; in getCrossTUDefinitionImpl()
401 llvm::Expected<ASTUnit *>
423 ASTUnit *Unit = LoadedUnit.get(); in getASTUnitForFile()
441 llvm::Expected<ASTUnit *>
463 if (llvm::Expected<ASTUnit *> FoundForFile = in getASTUnitForFunction()
519 llvm::Expected<ASTUnit *> Unit = ASTStorage.getASTUnitForFunction( in loadExternalAST()
568 return ASTUnit::LoadFromASTFile( in loadFromDump()
612 return ASTUnit::LoadFromCommandLine(CommandLineArgs.begin(), in loadFromSource()
765 ASTUnit *Unit) { in importDefinition()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h24 class ASTUnit; variable
54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp644 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-14.2/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h211 std::unique_ptr<ASTUnit>
229 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
365 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp364 std::unique_ptr<ASTUnit> AU(ASTUnit::LoadFromCompilerInvocationAction( in codeComplete()
375 llvm::SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in codeComplete()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp269 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues()
547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp206 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { in indexTranslationUnit()
260 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer, in indexASTUnit()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h372 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
/freebsd-14.2/lib/clang/libclang/
H A DMakefile446 SRCS_MIN+= Frontend/ASTUnit.cpp