1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

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.
This commit is contained in:
Simon Pilgrim 2020-11-04 14:20:19 +00:00
parent 9295b21984
commit afe668e17d

View File

@ -152,8 +152,9 @@ static void TestUnsignedBinOpExhaustive(Fn1 RangeFn, Fn2 IntFn,
}
EXPECT_TRUE(CR.contains(Exact));
if (Exact.isEmptySet())
if (Exact.isEmptySet()) {
EXPECT_TRUE(CR.isEmptySet());
}
});
}