@@ -580,8 +580,9 @@ void ASTContext::operator delete(void *Data) throw() {
580
580
}
581
581
582
582
ASTContext *ASTContext::get (
583
- LangOptions &langOpts, TypeCheckerOptions &typeckOpts, SILOptions &silOpts,
584
- SearchPathOptions &SearchPathOpts, ClangImporterOptions &ClangImporterOpts,
583
+ LangOptions &langOpts, TypeCheckerOptions &typecheckOpts,
584
+ SILOptions &silOpts, SearchPathOptions &SearchPathOpts,
585
+ ClangImporterOptions &ClangImporterOpts,
585
586
symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts,
586
587
SourceManager &SourceMgr, DiagnosticEngine &Diags,
587
588
std::function<bool (llvm::StringRef, bool )> PreModuleImportCallback) {
@@ -595,14 +596,15 @@ ASTContext *ASTContext::get(
595
596
impl = reinterpret_cast <void *>(
596
597
llvm::alignAddr (impl, llvm::Align (alignof (Implementation))));
597
598
new (impl) Implementation ();
598
- return new (mem) ASTContext (langOpts, typeckOpts , silOpts, SearchPathOpts,
599
+ return new (mem) ASTContext (langOpts, typecheckOpts , silOpts, SearchPathOpts,
599
600
ClangImporterOpts, SymbolGraphOpts, SourceMgr,
600
601
Diags, PreModuleImportCallback);
601
602
}
602
603
603
604
ASTContext::ASTContext (
604
- LangOptions &langOpts, TypeCheckerOptions &typeckOpts, SILOptions &silOpts,
605
- SearchPathOptions &SearchPathOpts, ClangImporterOptions &ClangImporterOpts,
605
+ LangOptions &langOpts, TypeCheckerOptions &typecheckOpts,
606
+ SILOptions &silOpts, SearchPathOptions &SearchPathOpts,
607
+ ClangImporterOptions &ClangImporterOpts,
606
608
symbolgraphgen::SymbolGraphOptions &SymbolGraphOpts,
607
609
SourceManager &SourceMgr, DiagnosticEngine &Diags,
608
610
std::function<bool (llvm::StringRef, bool )> PreModuleImportCallback)
0 commit comments