Skip to content

Commit 0e600d1

Browse files
committed
RequirementMachine: Enable -requirement-machine-protocol-signatures=verify by default
1 parent ac70bf7 commit 0e600d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
876876
Opts.DisableSubstSILFunctionTypes =
877877
Args.hasArg(OPT_disable_subst_sil_function_types);
878878

879+
Opts.RequirementMachineProtocolSignatures = RequirementMachineMode::Verify;
880+
879881
if (auto A = Args.getLastArg(OPT_requirement_machine_protocol_signatures_EQ)) {
880882
auto value = llvm::StringSwitch<Optional<RequirementMachineMode>>(A->getValue())
881883
.Case("off", RequirementMachineMode::Disabled)

0 commit comments

Comments
 (0)