1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/utils/unittest
Zachary Turner 6c4fad5c56 Force #define GTEST_LANG_CXX11.
gtest depends on this #define to determine whether it can
use various classes like std::tuple, or whether it has to fall
back to experimental classes in the std::tr1 namespace.  The
check in the current version of gtest relies on the value of
the `__cplusplus` macro, but MSVC provides a non-conformant
value of this macro, making it effectively impossible to detect
C++11.  In short, LLVM compiled with MSVC has been silently
using the tr1 versions of several classes since the beginning of
time.

This would normally be pretty benign, except that in the latest
preview of MSVC they have marked all of the tr1 classes
deprecated, so it spews thousands of warnings.

llvm-svn: 316798
2017-10-27 21:12:28 +00:00
..
googlemock [gmock] Teach gmock ElementsAre and BeginEndDistanceIs matchers to 2017-01-11 00:16:03 +00:00
googletest Note addition of NetBSD support in googletest 2017-05-06 02:45:42 +00:00
UnitTestMain Add the 'googlemock' component of Google Test to LLVM's unittest libraries. 2017-01-10 22:32:26 +00:00
CMakeLists.txt Force #define GTEST_LANG_CXX11. 2017-10-27 21:12:28 +00:00
LLVMBuild.txt