@@ -757,7 +757,8 @@ ASTContext *ASTContext::get(
757757 SILOptions &silOpts, SearchPathOptions &SearchPathOpts,
758758 ClangImporterOptions &ClangImporterOpts,
759759 symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts, CASOptions &casOpts,
760- SourceManager &SourceMgr, DiagnosticEngine &Diags,
760+ SerializationOptions &serializationOpts, SourceManager &SourceMgr,
761+ DiagnosticEngine &Diags,
761762 llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> OutputBackend) {
762763 // If more than two data structures are concatentated, then the aggregate
763764 // size math needs to become more complicated due to per-struct alignment
@@ -771,26 +772,28 @@ ASTContext *ASTContext::get(
771772 new (impl) Implementation ();
772773 return new (mem)
773774 ASTContext (langOpts, typecheckOpts, silOpts, SearchPathOpts,
774- ClangImporterOpts, SymbolGraphOpts, casOpts, SourceMgr, Diags ,
775- std::move (OutputBackend));
775+ ClangImporterOpts, SymbolGraphOpts, casOpts, serializationOpts ,
776+ SourceMgr, Diags, std::move (OutputBackend));
776777}
777778
778779ASTContext::ASTContext (
779780 LangOptions &langOpts, TypeCheckerOptions &typecheckOpts,
780781 SILOptions &silOpts, SearchPathOptions &SearchPathOpts,
781782 ClangImporterOptions &ClangImporterOpts,
782783 symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts, CASOptions &casOpts,
783- SourceManager &SourceMgr, DiagnosticEngine &Diags,
784+ SerializationOptions &SerializationOpts, SourceManager &SourceMgr,
785+ DiagnosticEngine &Diags,
784786 llvm::IntrusiveRefCntPtr<llvm::vfs::OutputBackend> OutBackend)
785787 : LangOpts(langOpts), TypeCheckerOpts(typecheckOpts), SILOpts(silOpts),
786788 SearchPathOpts (SearchPathOpts), ClangImporterOpts(ClangImporterOpts),
787- SymbolGraphOpts(SymbolGraphOpts), CASOpts(casOpts), SourceMgr(SourceMgr),
788- Diags(Diags), OutputBackend(std::move(OutBackend)),
789- evaluator(Diags, langOpts), TheBuiltinModule(createBuiltinModule(*this )),
789+ SymbolGraphOpts(SymbolGraphOpts), CASOpts(casOpts),
790+ SerializationOpts(SerializationOpts), SourceMgr(SourceMgr), Diags(Diags),
791+ OutputBackend(std::move(OutBackend)), evaluator(Diags, langOpts),
792+ TheBuiltinModule(createBuiltinModule(*this )),
790793 StdlibModuleName(getIdentifier(STDLIB_NAME)),
791794 SwiftShimsModuleName(getIdentifier(SWIFT_SHIMS_NAME)),
792795 blockListConfig(SourceMgr),
793- TheErrorType(new (*this , AllocationArena::Permanent) ErrorType(
796+ TheErrorType(new (*this , AllocationArena::Permanent) ErrorType(
794797 *this , Type(), RecursiveTypeProperties::HasError)),
795798 TheUnresolvedType(new (*this , AllocationArena::Permanent)
796799 UnresolvedType(*this )),
@@ -801,17 +804,17 @@ ASTContext::ASTContext(
801804 The##SHORT_ID##Type(new (*this , AllocationArena::Permanent) \
802805 ID##Type(*this )),
803806#include " swift/AST/TypeNodes.def"
804- TheIEEE32Type (new (*this , AllocationArena::Permanent)
807+ TheIEEE32Type (new (*this , AllocationArena::Permanent)
805808 BuiltinFloatType(BuiltinFloatType::IEEE32, *this )),
806- TheIEEE64Type(new (*this , AllocationArena::Permanent)
809+ TheIEEE64Type(new (*this , AllocationArena::Permanent)
807810 BuiltinFloatType(BuiltinFloatType::IEEE64, *this )),
808- TheIEEE16Type(new (*this , AllocationArena::Permanent)
811+ TheIEEE16Type(new (*this , AllocationArena::Permanent)
809812 BuiltinFloatType(BuiltinFloatType::IEEE16, *this )),
810- TheIEEE80Type(new (*this , AllocationArena::Permanent)
813+ TheIEEE80Type(new (*this , AllocationArena::Permanent)
811814 BuiltinFloatType(BuiltinFloatType::IEEE80, *this )),
812- TheIEEE128Type(new (*this , AllocationArena::Permanent)
815+ TheIEEE128Type(new (*this , AllocationArena::Permanent)
813816 BuiltinFloatType(BuiltinFloatType::IEEE128, *this )),
814- ThePPC128Type(new (*this , AllocationArena::Permanent)
817+ ThePPC128Type(new (*this , AllocationArena::Permanent)
815818 BuiltinFloatType(BuiltinFloatType::PPC128, *this )) {
816819
817820 // Initialize all of the known identifiers.
0 commit comments