Skip to content

Commit b36cb12

Browse files
committed
Fix gcc braces warning. NFCI.
gcc warns that the EXPECT_TRUE macro isn't surrounded by if() {} - we already do this in other cases in the file.
1 parent 2dec36e commit b36cb12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/unittests/IR/ConstantRangeTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ static void TestUnsignedBinOpExhaustive(Fn1 RangeFn, Fn2 IntFn,
152152
}
153153

154154
EXPECT_TRUE(CR.contains(Exact));
155-
if (Exact.isEmptySet())
155+
if (Exact.isEmptySet()) {
156156
EXPECT_TRUE(CR.isEmptySet());
157+
}
157158
});
158159
}
159160

0 commit comments

Comments
 (0)