[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:17:15 PDT 2017


On Sat, May 27, 2017 at 10:07 PM, Galina Kistanova <gkistanova at gmail.com> wrote:
> I did not want to fix googletest at this point. But if I'll end up doing so,
> I'll fix this one too.
>
>

I'd rather not duplicate the fix for each callsite and make thisan O(N) problem.
I guess you can just replicate Craig's solution for EXPECT_STREQ instead.

Thanks,

-- 
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