Home
last modified time | relevance | path

Searched refs:SharedState (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp41 auto SharedState = std::make_shared<ASTImporterSharedState>( in ExecuteAction() local
58 /*MinimalImport=*/false, SharedState); in ExecuteAction()
H A DSerializedDiagnosticPrinter.cpp139 struct SharedState;
141 explicit SDiagsWriter(std::shared_ptr<SharedState> State) in SDiagsWriter()
149 State(std::make_shared<SharedState>(File, Diags)) { in SDiagsWriter()
247 struct SharedState { struct in __anon3d4696120111::SDiagsWriter
248 SharedState(StringRef File, DiagnosticOptions *Diags) in SharedState() function
295 std::shared_ptr<SharedState> State;
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp116 std::shared_ptr<ASTImporterSharedState> SharedState) in LazyASTImporter() argument
119 /*MinimalImport=*/true, SharedState), in LazyASTImporter()
399 SharedState = std::make_shared<ASTImporterSharedState>( in ExternalASTMerger()
418 *this, Target.AST, Target.FM, S, SharedState)); in AddSources()
H A DASTImporter.cpp8246 : SharedState(SharedState), ToContext(ToContext), FromContext(FromContext), in ASTImporter()
8251 if (!SharedState) { in ASTImporter()
8252 this->SharedState = std::make_shared<ASTImporterSharedState>(); in ASTImporter()
8293 if (SharedState->getLookupTable()) { in findDeclsInToCtx()
8295 SharedState->getLookupTable()->lookup(ReDC, Name); in findDeclsInToCtx()
8317 SharedState->addDeclToLookup(ToD); in AddToLookupTable()
8479 if (auto Error = SharedState->getImportDeclErrorIfAny(ToD)) { in Import()
8521 SharedState->removeDeclFromLookup(ToD); in Import()
8539 SharedState->setImportDeclError(Pos->second, ErrOut); in Import()
8550 SharedState->setImportDeclError(Ii->second, ErrOut); in Import()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h221 std::shared_ptr<ASTImporterSharedState> SharedState = nullptr;
319 std::shared_ptr<ASTImporterSharedState> SharedState = nullptr);
H A DExternalASTMerger.h112 std::shared_ptr<ASTImporterSharedState> SharedState; variable