[llvm] r304083 - Added braces to address gcc warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]. NFC.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sat May 27 22:39:44 PDT 2017


On Sat, May 27, 2017 at 10:30 PM, Craig Topper <craig.topper at gmail.com> wrote:
> EXPECT_STREQ should already be using this as far as I can tell.
>
> ~Craig
>

So, are you inclined to think this is a GCC false positive? If so, I'd
like to understand what's the problem instead of blindly fixing
warnings (and if we can't, well, maybe disable the warning entirely?)

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list