Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp217 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 DFrontendAction.cpp152 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 DASTUnit.h89 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 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/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/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h24 class ASTUnit; variable
54 void indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer,
/freebsd/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/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp364 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 DARCMT.cpp269 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 DIndexingAction.cpp206 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 DASTReader.h372 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
/freebsd/lib/clang/libclang/
H A DMakefile450 SRCS_MIN+= Frontend/ASTUnit.cpp