Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp213 struct ASTUnit::ASTWriterData {
222 void ASTUnit::clearFileLevelDecls() { in clearFileLevelDecls()
237 ASTUnit::ASTUnit(bool _MainFileIsAST) in ASTUnit() function in ASTUnit
246 ASTUnit::~ASTUnit() { in ~ASTUnit()
270 void ASTUnit::setPreprocessor(std::shared_ptr<Preprocessor> PP) { in setPreprocessor()
274 void ASTUnit::enableSourceFileDiagnostics() { in enableSourceFileDiagnostics()
360 void ASTUnit::CacheCodeCompletionResults() { in CacheCodeCompletionResults()
503 void ASTUnit::ClearCachedCompletionResults() { in ClearCachedCompletionResults()
658 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags;
666 SmallVectorImpl<ASTUnit::StandaloneDiagnostic> *StandaloneDiags, in FilterAndStoreDiagnosticConsumer()
[all …]
H A DASTMerge.cpp48 std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile( in ExecuteAction()
49 ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, in ExecuteAction()
H A DFrontendAction.cpp286 std::unique_ptr<ASTUnit> AST) { in setCurrentInput()
776 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
777 InputFile, CI.getPCHContainerReader(), ASTUnit::LoadPreprocessorOnly, in BeginSourceFile()
843 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile()
844 InputFile, CI.getPCHContainerReader(), ASTUnit::LoadEverything, nullptr, in BeginSourceFile()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h89 class ASTUnit {
270 ASTUnit &AST, CaptureDiagsKind CaptureDiagnostics);
383 explicit ASTUnit(bool MainFileIsAST);
423 ASTUnit &Self;
426 explicit ConcurrencyCheck(ASTUnit &Self) : Self(Self) { in ConcurrencyCheck()
435 ASTUnit(const ASTUnit &) = delete;
436 ASTUnit &operator=(const ASTUnit &) = delete;
437 ~ASTUnit();
680 static std::unique_ptr<ASTUnit>
707 static std::unique_ptr<ASTUnit> LoadFromASTFile(
[all …]
H A DFrontendAction.h39 std::unique_ptr<ASTUnit> CurrentASTUnit;
157 ASTUnit &getCurrentASTUnit() const { in getCurrentASTUnit()
164 std::unique_ptr<ASTUnit> takeCurrentASTUnit() { in takeCurrentASTUnit()
169 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/lib/CrossTU/
H A DCrossTranslationUnit.cpp290 llvm::Expected<ASTUnit *> ASTUnitOrError = in getCrossTUDefinitionImpl()
294 ASTUnit *Unit = *ASTUnitOrError; in getCrossTUDefinitionImpl()
401 llvm::Expected<ASTUnit *>
420 std::unique_ptr<ASTUnit> LoadedUnit = std::move(LoadAttempt.get()); in getASTUnitForFile()
423 ASTUnit *Unit = LoadedUnit.get(); in getASTUnitForFile()
441 llvm::Expected<ASTUnit *>
464 if (llvm::Expected<ASTUnit *> FoundForFile = in getASTUnitForFunction()
511 llvm::Expected<ASTUnit *> CrossTranslationUnitContext::loadExternalAST( in loadExternalAST()
520 llvm::Expected<ASTUnit *> Unit = ASTStorage.getASTUnitForFunction( in loadExternalAST()
569 return ASTUnit::LoadFromASTFile( in loadFromDump()
[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.cpp642 std::vector<std::unique_ptr<ASTUnit>> &ASTs;
645 ASTBuilderAction(std::vector<std::unique_ptr<ASTUnit>> &ASTs) : ASTs(ASTs) {} in ASTBuilderAction()
651 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation()
668 int ClangTool::buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs) { in buildASTs()
680 std::unique_ptr<ASTUnit>
687 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs( in buildASTFromCodeWithArgs()
693 std::vector<std::unique_ptr<ASTUnit>> ASTs; in buildASTFromCodeWithArgs()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/
H A DTooling.h211 std::unique_ptr<ASTUnit>
233 std::unique_ptr<ASTUnit> buildASTFromCodeWithArgs(
371 int buildASTs(std::vector<std::unique_ptr<ASTUnit>> &ASTs);
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp365 std::unique_ptr<ASTUnit> AU(ASTUnit::LoadFromCompilerInvocationAction( in codeComplete()
375 llvm::SmallVector<ASTUnit::RemappedFile, 4> RemappedFiles; in codeComplete()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingAction.cpp204 static void indexTranslationUnit(ASTUnit &Unit, IndexingContext &IndexCtx) { in indexTranslationUnit()
258 void index::indexASTUnit(ASTUnit &Unit, IndexDataConsumer &DataConsumer, in indexASTUnit()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h420 friend class ASTUnit; // ASTUnit needs to remap source locations. variable
/freebsd/lib/clang/libclang/
H A DMakefile480 SRCS_MIN+= Frontend/ASTUnit.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc755 {"_ZN5clang7ASTUnitC1Eb", "clang::ASTUnit::ASTUnit(bool)"},
756 {"_ZN5clang7ASTUnitC2Eb", "clang::ASTUnit::ASTUnit(bool)"},
757 {"_ZN5clang7ASTUnitC3Eb", "clang::ASTUnit::ASTUnit(bool)"},
758 {"_ZN5clang7ASTUnitC4Eb", "clang::ASTUnit::ASTUnit(bool)"},
759 {"_ZN5clang7ASTUnitC5Eb", "clang::ASTUnit::ASTUnit(bool)"},
760 {"_ZN5clang7ASTUnitD0Ev", "clang::ASTUnit::~ASTUnit()"},
761 {"_ZN5clang7ASTUnitD1Ev", "clang::ASTUnit::~ASTUnit()"},
762 {"_ZN5clang7ASTUnitD2Ev", "clang::ASTUnit::~ASTUnit()"},
763 {"_ZN5clang7ASTUnitD4Ev", "clang::ASTUnit::~ASTUnit()"},
764 {"_ZN5clang7ASTUnitD5Ev", "clang::ASTUnit::~ASTUnit()"},
[all …]