Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp240 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
249 ASTUnit::~ASTUnit() { in ~ASTUnit()
733 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
740 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
916 ASTUnit &Unit;
975 ASTUnit &Unit;
1470 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1486 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1665 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1674 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in LoadFromCompilerInvocation()
[all …]
H A DASTMerge.cpp50 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( in ExecuteAction()
51 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags, in ExecuteAction()
H A DFrontendAction.cpp137 std::unique_ptr<ASTUnit> AST) { in setCurrentInput()
565 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
566 InputFile, CI.getPCHContainerReader(), ASTUnit::LoadPreprocessorOnly, in BeginSourceFile()
631 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
632 InputFile, CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags, in BeginSourceFile()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h87 class ASTUnit {
363 explicit ASTUnit(bool MainFileIsAST);
403 ASTUnit &Self;
415 ASTUnit(const ASTUnit &) = delete;
416 ASTUnit &operator=(const ASTUnit &) = delete;
417 ~ASTUnit();
658 static std::unique_ptr<ASTUnit>
684 static std::unique_ptr<ASTUnit> LoadFromASTFile(
752 std::unique_ptr<ASTUnit> *ErrAST = nullptr);
808 static ASTUnit *LoadFromCommandLine(
[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-12.1/contrib/llvm/tools/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h29 class ASTUnit; variable
138 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
162 llvm::StringMap<std::unique_ptr<clang::ASTUnit>> FileASTUnitMap;
163 llvm::StringMap<clang::ASTUnit *> FunctionASTUnitMap;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp206 llvm::Expected<ASTUnit *> ASTUnitOrError = in getCrossTUDefinition()
210 ASTUnit *Unit = *ASTUnitOrError; in getCrossTUDefinition()
269 llvm::Expected<ASTUnit *> CrossTranslationUnitContext::loadExternalAST( in loadExternalAST()
276 ASTUnit *Unit = nullptr; in loadExternalAST()
308 std::unique_ptr<ASTUnit> LoadedUnit(ASTUnit::LoadFromASTFile( in loadExternalAST()
310 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts())); in loadExternalAST()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/
H A DIndexingAction.h22 class ASTUnit; variable
58 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp539 std::vector<std::unique_ptr<ASTUnit>> &ASTs;
542 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction()
548 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation()
564 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs()
576 std::unique_ptr<ASTUnit>
583 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs()
587 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DTooling.h207 std::unique_ptr<ASTUnit>
225 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
357 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h33 class ASTUnit; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues()
547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexingAction.cpp215 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { in indexTranslationUnit()
229 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer, in indexASTUnit()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h369 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
/freebsd-12.1/lib/clang/libclang/
H A DMakefile328 SRCS_MIN+= Frontend/ASTUnit.cpp