File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1172,15 +1172,13 @@ Expected<StructuralHashOptions>
11721172parseStructuralHashPrinterPassOptions (StringRef Params) {
11731173 if (Params.empty ())
11741174 return StructuralHashOptions::None;
1175- else if (Params == " detailed" )
1175+ if (Params == " detailed" )
11761176 return StructuralHashOptions::Detailed;
1177- else if (Params == " call-target-ignored" )
1177+ if (Params == " call-target-ignored" )
11781178 return StructuralHashOptions::CallTargetIgnored;
1179- else
1180- return make_error<StringError>(
1181- formatv (" invalid structural hash printer parameter '{0}' " , Params)
1182- .str (),
1183- inconvertibleErrorCode ());
1179+ return make_error<StringError>(
1180+ formatv (" invalid structural hash printer parameter '{0}' " , Params).str (),
1181+ inconvertibleErrorCode ());
11841182}
11851183
11861184Expected<bool > parseWinEHPrepareOptions (StringRef Params) {
You can’t perform that action at this time.
0 commit comments