http://llvm.org/bugs/show_bug.cgi?id=13525
Roland Schulz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Roland Schulz <[email protected]> 2012-08-29 21:35:18 CDT --- One of the if's is only there as a workaournd for a MSVC warning. Thus this probably should be fixed in GTest by: +#ifdef _MSC_VER #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ if (::testing::internal::AlwaysTrue()) { statement; } +#else +#define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ + { statement; } +#endif -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
