[NFC] Add SerializationOptions to ASTContext

This commit is contained in:
Meghana Gupta
2024-10-31 13:35:18 -07:00
parent 51090e4bc4
commit 1985b6cceb
18 changed files with 73 additions and 44 deletions

View File

@@ -104,9 +104,10 @@ protected:
symbolgraphgen::SymbolGraphOptions symbolGraphOpts;
SILOptions silOpts;
CASOptions casOpts;
SerializationOptions serializationOpts;
auto ctx = ASTContext::get(langOpts, typecheckOpts, silOpts, searchPathOpts,
clangImpOpts, symbolGraphOpts, casOpts,
sourceMgr, diags);
serializationOpts, sourceMgr, diags);
ctx->addModuleInterfaceChecker(
std::make_unique<ModuleInterfaceCheckerImpl>(*ctx, cacheDir,