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) {
461
461
Module.get (), inputsAndOutputs.getSingleOutputFilename ());
462
462
}
463
463
464
- static void verifyGenericSignaturesIfNeeded (const CompilerInvocation &Invocation ,
464
+ static void verifyGenericSignaturesIfNeeded (const FrontendOptions &opts ,
465
465
ASTContext &Context) {
466
- auto verifyGenericSignaturesInModule =
467
- Invocation.getFrontendOptions ().VerifyGenericSignaturesInModule ;
466
+ auto verifyGenericSignaturesInModule = opts.VerifyGenericSignaturesInModule ;
468
467
if (verifyGenericSignaturesInModule.empty ())
469
468
return ;
470
469
if (auto module = Context.getModuleByName (verifyGenericSignaturesInModule))
@@ -932,7 +931,7 @@ static void performEndOfPipelineActions(CompilerInstance &Instance) {
932
931
ctx.verifyAllLoadedModules ();
933
932
934
933
// Verify generic signatures if we've been asked to.
935
- verifyGenericSignaturesIfNeeded (Invocation, ctx);
934
+ verifyGenericSignaturesIfNeeded (Invocation. getFrontendOptions () , ctx);
936
935
}
937
936
938
937
// Emit any additional outputs that we only need for a successful compilation.
You can’t perform that action at this time.
0 commit comments