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 @@ -1179,15 +1179,13 @@ Expected<StructuralHashOptions>
1179
1179
parseStructuralHashPrinterPassOptions (StringRef Params) {
1180
1180
if (Params.empty ())
1181
1181
return StructuralHashOptions::None;
1182
- else if (Params == " detailed" )
1182
+ if (Params == " detailed" )
1183
1183
return StructuralHashOptions::Detailed;
1184
- else if (Params == " call-target-ignored" )
1184
+ if (Params == " call-target-ignored" )
1185
1185
return StructuralHashOptions::CallTargetIgnored;
1186
- else
1187
- return make_error<StringError>(
1188
- formatv (" invalid structural hash printer parameter '{0}' " , Params)
1189
- .str (),
1190
- inconvertibleErrorCode ());
1186
+ return make_error<StringError>(
1187
+ formatv (" invalid structural hash printer parameter '{0}' " , Params).str (),
1188
+ inconvertibleErrorCode ());
1191
1189
}
1192
1190
1193
1191
Expected<bool > parseWinEHPrepareOptions (StringRef Params) {
You can’t perform that action at this time.
0 commit comments