mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 12:16:31 +00:00
Cosmetic. Added braces to address gcc warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82673ec6c6
commit
971abf1576
@ -335,10 +335,12 @@ TEST(ScaledNumberHelpersTest, matchScales) {
|
||||
EXPECT_EQ(SOut, matchScales(LDx, LSx, RDx, RSx)); \
|
||||
EXPECT_EQ(LDy, LDx); \
|
||||
EXPECT_EQ(RDy, RDx); \
|
||||
if (LDy) \
|
||||
if (LDy) { \
|
||||
EXPECT_EQ(Sy, LSx); \
|
||||
if (RDy) \
|
||||
} \
|
||||
if (RDy) { \
|
||||
EXPECT_EQ(Sy, RSx); \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
MATCH_SCALES(uint32_t, 0, 0, 0, 0, 0, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user