File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -461,10 +461,9 @@ static bool compileLLVMIR(CompilerInstance &Instance) {
461461 Module.get (), inputsAndOutputs.getSingleOutputFilename ());
462462}
463463
464- static void verifyGenericSignaturesIfNeeded (const CompilerInvocation &Invocation ,
464+ static void verifyGenericSignaturesIfNeeded (const FrontendOptions &opts ,
465465 ASTContext &Context) {
466- auto verifyGenericSignaturesInModule =
467- Invocation.getFrontendOptions ().VerifyGenericSignaturesInModule ;
466+ auto verifyGenericSignaturesInModule = opts.VerifyGenericSignaturesInModule ;
468467 if (verifyGenericSignaturesInModule.empty ())
469468 return ;
470469 if (auto module = Context.getModuleByName (verifyGenericSignaturesInModule))
@@ -932,7 +931,7 @@ static void performEndOfPipelineActions(CompilerInstance &Instance) {
932931 ctx.verifyAllLoadedModules ();
933932
934933 // Verify generic signatures if we've been asked to.
935- verifyGenericSignaturesIfNeeded (Invocation, ctx);
934+ verifyGenericSignaturesIfNeeded (Invocation. getFrontendOptions () , ctx);
936935 }
937936
938937 // Emit any additional outputs that we only need for a successful compilation.
You can’t perform that action at this time.
0 commit comments