File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -497,11 +497,6 @@ namespace swift {
497
497
// / dumped to llvm::errs().
498
498
bool DebugTimeExpressions = false ;
499
499
500
- // / Indicate that the type checker is checking code that will be
501
- // / immediately executed. This will suppress certain warnings
502
- // / when executing scripts.
503
- bool InImmediateMode = false ;
504
-
505
500
// / Indicate that the type checker should skip type-checking non-inlinable
506
501
// / function bodies.
507
502
bool SkipNonInlinableFunctionBodies = false ;
Original file line number Diff line number Diff line change @@ -311,15 +311,6 @@ bool CompilerInstance::setup(const CompilerInvocation &Invok) {
311
311
Invocation.getLangOptions ().AttachCommentsToDecls = true ;
312
312
}
313
313
314
- // Set up the type checker options.
315
- auto &typeCkOpts = Invocation.getTypeCheckerOptions ();
316
- if (isWholeModuleCompilation ()) {
317
- typeCkOpts.DelayWholeModuleChecking = true ;
318
- }
319
- if (FrontendOptions::isActionImmediate (frontendOpts.RequestedAction )) {
320
- typeCkOpts.InImmediateMode = true ;
321
- }
322
-
323
314
assert (Lexer::isIdentifier (Invocation.getModuleName ()));
324
315
325
316
if (isInSILMode ())
You can’t perform that action at this time.
0 commit comments