Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp242 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
251 ASTUnit::~ASTUnit() { in ~ASTUnit()
757 std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile( in LoadFromASTFile()
763 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile()
938 ASTUnit &Unit;
997 ASTUnit &Unit;
1487 std::unique_ptr<ASTUnit> AST(new ASTUnit(false)); in create()
1503 ASTUnit *ASTUnit::LoadFromCompilerInvocationAction( in LoadFromCompilerInvocationAction()
1674 std::unique_ptr<ASTUnit> ASTUnit::LoadFromCompilerInvocation( in LoadFromCompilerInvocation()
1683 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.cpp138 std::unique_ptr<ASTUnit> AST) { in setCurrentInput()
578 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
580 ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(), in BeginSourceFile()
646 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
648 ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(), in BeginSourceFile()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h31 class ASTUnit; variable
166 llvm::Expected<ASTUnit *> loadExternalAST(StringRef LookupName,
177 ASTUnit *Unit);
179 ASTUnit *Unit);
200 ASTImporter &getOrCreateASTImporter(ASTUnit *Unit);
210 llvm::Expected<const T *> importDefinitionImpl(const T *D, ASTUnit *Unit);
220 using LoadResultTy = llvm::Expected<std::unique_ptr<ASTUnit>>;
295 llvm::Expected<ASTUnit *> getASTUnitForFunction(StringRef FunctionName,
315 llvm::Expected<ASTUnit *> getASTUnitForFile(StringRef FileName,
319 using OwningMapTy = BaseMapTy<std::unique_ptr<clang::ASTUnit>>;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h89 class ASTUnit {
368 explicit ASTUnit(bool MainFileIsAST);
408 ASTUnit &Self;
420 ASTUnit(const ASTUnit &) = delete;
421 ASTUnit &operator=(const ASTUnit &) = delete;
422 ~ASTUnit();
665 static std::unique_ptr<ASTUnit>
691 static std::unique_ptr<ASTUnit>
761 std::unique_ptr<ASTUnit> *ErrAST = nullptr);
818 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-13.1/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp266 llvm::Expected<ASTUnit *> ASTUnitOrError = in getCrossTUDefinitionImpl()
270 ASTUnit *Unit = *ASTUnitOrError; in getCrossTUDefinitionImpl()
377 llvm::Expected<ASTUnit *>
399 ASTUnit *Unit = LoadedUnit.get(); in getASTUnitForFile()
417 llvm::Expected<ASTUnit *>
439 if (llvm::Expected<ASTUnit *> FoundForFile = in getASTUnitForFunction()
495 llvm::Expected<ASTUnit *> Unit = ASTStorage.getASTUnitForFunction( in loadExternalAST()
544 return ASTUnit::LoadFromASTFile( in loadFromDump()
588 return std::unique_ptr<ASTUnit>(ASTUnit::LoadFromCommandLine( in loadFromSource()
742 ASTUnit *Unit) { in importDefinition()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h24 class ASTUnit; variable
54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp594 std::vector<std::unique_ptr<ASTUnit>> &ASTs;
597 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction()
603 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation()
619 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs()
635 std::unique_ptr<ASTUnit>
642 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs()
647 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h212 std::unique_ptr<ASTUnit>
230 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
356 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DModelInjector.h32 class ASTUnit; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp271 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues()
549 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h355 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
/freebsd-13.1/lib/clang/libclang/
H A DMakefile382 SRCS_MIN+= Frontend/ASTUnit.cpp