Skip to content

Commit 55f42d6

Browse files
committed
if body single statement
1 parent fa0d195 commit 55f42d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,13 +1416,13 @@ parseBoundsCheckingOptions(StringRef Params) {
14161416

14171417
Expected<RAGreedyPass::Options>
14181418
parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
1419-
if (Params.empty() || Params == "all") {
1419+
if (Params.empty() || Params == "all")
14201420
return RAGreedyPass::Options();
1421-
}
1421+
14221422
std::optional<RegAllocFilterFunc> Filter = PB.parseRegAllocFilter(Params);
1423-
if (Filter) {
1423+
if (Filter)
14241424
return RAGreedyPass::Options{*Filter, Params};
1425-
}
1425+
14261426
return make_error<StringError>(
14271427
formatv("invalid regallocgreedy register filter '{0}' ", Params).str(),
14281428
inconvertibleErrorCode());

0 commit comments

Comments
 (0)