llvm.org GIT mirror llvm / 344a827
[Support] This sanity check in the test only works with certain versions of libstdc++, not just certain versions of GCC. The original macros broke when using Clang + libstdc++4.9 sadly. Sadly, testing for versions of libstdc++ has been extremely problematic in the past, so I'm just narrowing this down to Windows and when using libc++ as that seems at least very unlikely to keep build bots broken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336174 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 1 year, 3 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2525 IsTriviallyMoveConstructible,
2626 "Mismatch in expected trivial move construction!");
28 #if __clang__ || _MSC_VER || __GNUC__ > 5
28 #if defined(_LIBCPP_VERSION) || defined(_MSC_VER)
2929 // On compilers with support for the standard traits, make sure they agree.
3030 static_assert(std::is_trivially_copy_constructible::value ==
3131 IsTriviallyCopyConstructible,