Skip to content

Commit 5e9477a

Browse files
committed
if body single statement
1 parent 5480472 commit 5e9477a

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
@@ -1417,13 +1417,13 @@ parseBoundsCheckingOptions(StringRef Params) {
14171417

14181418
Expected<RAGreedyPass::Options>
14191419
parseRegAllocGreedyFilterFunc(PassBuilder &PB, StringRef Params) {
1420-
if (Params.empty() || Params == "all") {
1420+
if (Params.empty() || Params == "all")
14211421
return RAGreedyPass::Options();
1422-
}
1422+
14231423
std::optional<RegAllocFilterFunc> Filter = PB.parseRegAllocFilter(Params);
1424-
if (Filter) {
1424+
if (Filter)
14251425
return RAGreedyPass::Options{*Filter, Params};
1426-
}
1426+
14271427
return make_error<StringError>(
14281428
formatv("invalid regallocgreedy register filter '{0}' ", Params).str(),
14291429
inconvertibleErrorCode());

0 commit comments

Comments
 (0)