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>
11791179parseStructuralHashPrinterPassOptions (StringRef Params) {
11801180 if (Params.empty ())
11811181 return StructuralHashOptions::None;
1182- else if (Params == " detailed" )
1182+ if (Params == " detailed" )
11831183 return StructuralHashOptions::Detailed;
1184- else if (Params == " call-target-ignored" )
1184+ if (Params == " call-target-ignored" )
11851185 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 ());
11911189}
11921190
11931191Expected<bool > parseWinEHPrepareOptions (StringRef Params) {
You can’t perform that action at this time.
0 commit comments