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>
1172
1172
parseStructuralHashPrinterPassOptions (StringRef Params) {
1173
1173
if (Params.empty ())
1174
1174
return StructuralHashOptions::None;
1175
- else if (Params == " detailed" )
1175
+ if (Params == " detailed" )
1176
1176
return StructuralHashOptions::Detailed;
1177
- else if (Params == " call-target-ignored" )
1177
+ if (Params == " call-target-ignored" )
1178
1178
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 ());
1184
1182
}
1185
1183
1186
1184
Expected<bool > parseWinEHPrepareOptions (StringRef Params) {
You can’t perform that action at this time.
0 commit comments