5353#include " swift/Basic/StringExtras.h"
5454#include " swift/Strings.h"
5555#include " swift/Subsystems.h"
56+ #include " swift/SymbolGraphGen/SymbolGraphOptions.h"
5657#include " swift/Syntax/References.h"
5758#include " swift/Syntax/SyntaxArena.h"
5859#include " clang/AST/Type.h"
@@ -579,6 +580,7 @@ ASTContext *ASTContext::get(LangOptions &langOpts,
579580 TypeCheckerOptions &typeckOpts,
580581 SearchPathOptions &SearchPathOpts,
581582 ClangImporterOptions &ClangImporterOpts,
583+ symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts,
582584 SourceManager &SourceMgr,
583585 DiagnosticEngine &Diags) {
584586 // If more than two data structures are concatentated, then the aggregate
@@ -593,17 +595,19 @@ ASTContext *ASTContext::get(LangOptions &langOpts,
593595 new (impl) Implementation ();
594596 return new (mem)
595597 ASTContext (langOpts, typeckOpts, SearchPathOpts, ClangImporterOpts,
596- SourceMgr, Diags);
598+ SymbolGraphOpts, SourceMgr, Diags);
597599}
598600
599601ASTContext::ASTContext (LangOptions &langOpts, TypeCheckerOptions &typeckOpts,
600602 SearchPathOptions &SearchPathOpts,
601603 ClangImporterOptions &ClangImporterOpts,
604+ symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts,
602605 SourceManager &SourceMgr, DiagnosticEngine &Diags)
603606 : LangOpts(langOpts),
604607 TypeCheckerOpts (typeckOpts),
605608 SearchPathOpts(SearchPathOpts),
606609 ClangImporterOpts(ClangImporterOpts),
610+ SymbolGraphOpts(SymbolGraphOpts),
607611 SourceMgr(SourceMgr), Diags(Diags),
608612 evaluator(Diags, langOpts),
609613 TheBuiltinModule(createBuiltinModule(*this )),
0 commit comments