Home
last modified time | relevance | path

Searched refs:ASTImporterSharedState (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTImporterSharedState.h28 class ASTImporterSharedState {
48 ASTImporterSharedState() = default;
50 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState() function
H A DASTImporter.h37 class ASTImporterSharedState; variable
193 std::shared_ptr<ASTImporterSharedState> SharedState = nullptr;
291 std::shared_ptr<ASTImporterSharedState> SharedState = nullptr);
H A DExternalASTMerger.h112 std::shared_ptr<ASTImporterSharedState> SharedState;
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.cpp57 const std::shared_ptr<ASTImporterSharedState> &SharedState) { in TU()
66 const std::shared_ptr<ASTImporterSharedState> &SharedState, in lazyInitImporter()
80 const std::shared_ptr<ASTImporterSharedState> &SharedState, ASTUnit *ToAST, in import()
92 const std::shared_ptr<ASTImporterSharedState> &SharedState, ASTUnit *ToAST, in importOrError()
99 const std::shared_ptr<ASTImporterSharedState> &SharedState, ASTUnit *ToAST, in import()
113 SharedStatePtr = std::make_shared<ASTImporterSharedState>(*ToTU); in lazyInitSharedState()
H A DASTImporterFixtures.h34 class ASTImporterSharedState; variable
94 const std::shared_ptr<ASTImporterSharedState> &SharedState)>
126 lazyInitImporter(const std::shared_ptr<ASTImporterSharedState> &SharedState,
128 Decl *import(const std::shared_ptr<ASTImporterSharedState> &SharedState,
131 importOrError(const std::shared_ptr<ASTImporterSharedState> &SharedState,
133 QualType import(const std::shared_ptr<ASTImporterSharedState> &SharedState,
153 std::shared_ptr<ASTImporterSharedState> SharedStatePtr;
H A DASTImporterTest.cpp107 const std::shared_ptr<ASTImporterSharedState> &SharedState) { in RedirectingImporterTest()
5430 const std::shared_ptr<ASTImporterSharedState> &SharedState) { in ErrorHandlingTest()
6033 const std::shared_ptr<ASTImporterSharedState> &SharedState) { in LLDBLookupTest()
7012 const std::shared_ptr<ASTImporterSharedState> &SharedState) { in ImportWithExternalSource()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTMerge.cpp41 auto SharedState = std::make_shared<ASTImporterSharedState>( in ExecuteAction()
/llvm-project-15.0.7/clang/lib/AST/
H A DExternalASTMerger.cpp116 std::shared_ptr<ASTImporterSharedState> SharedState) in LazyASTImporter()
399 SharedState = std::make_shared<ASTImporterSharedState>( in ExternalASTMerger()
H A DASTImporter.cpp8390 std::shared_ptr<ASTImporterSharedState> SharedState) in ASTImporter()
8397 this->SharedState = std::make_shared<ASTImporterSharedState>(); in ASTImporter()
/llvm-project-15.0.7/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h228 std::shared_ptr<ASTImporterSharedState> ImporterSharedSt;
/llvm-project-15.0.7/clang/docs/
H A DLibASTImporter.rst451 This time we create a shared_ptr for ``ASTImporterSharedState`` which owns the associated errors fo…
452 … context but from different "from" contexts; they should share the same ``ASTImporterSharedState``.
453 (Also note, we have to include the corresponding ``ASTImporterSharedState.h`` header file.)
457 auto ImporterState = std::make_shared<ASTImporterSharedState>();
H A DInternalsManual.rst2254 "to" context in ``ASTImporterSharedState::ImportErrors``. Note that, there may
2378 lookup only via the ``ASTImporterSharedState`` class.
/llvm-project-15.0.7/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp778 ImporterSharedSt = std::make_shared<ASTImporterSharedState>(*ToTU); in lazyInitImporterSharedSt()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt150 clang/include/clang/AST/ASTImporterSharedState.h