[LLVMbugs] [Bug 13525] GTest ASSERT_NO_THROW

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 29 19:35:18 PDT 2012


Roland Schulz <roland at utk.edu> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Roland Schulz <roland at utk.edu> 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
   if (::testing::internal::AlwaysTrue()) { statement; }
+  { statement; }

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.

More information about the llvm-bugs mailing list