From bcc77b04bb75722f6acaa29a408d7f8dc1d0e170 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 7 Mar 2014 15:54:23 +0000 Subject: [C++11] Now that the users are gone, rip out the duplicated traits from type_traits.h Simplify the remaining ones a bit. llvm-svn: 203249 --- llvm/unittests/IR/ValueMapTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/unittests/IR') diff --git a/llvm/unittests/IR/ValueMapTest.cpp b/llvm/unittests/IR/ValueMapTest.cpp index 176b56cfbe8..6fd87b1e0cd 100644 --- a/llvm/unittests/IR/ValueMapTest.cpp +++ b/llvm/unittests/IR/ValueMapTest.cpp @@ -116,7 +116,8 @@ TYPED_TEST(ValueMapTest, OperationsWork) { template void CompileAssertHasType(VarType) { - static_assert((is_same::value), "Not the same type"); + static_assert(std::is_same::value, + "Not the same type"); } TYPED_TEST(ValueMapTest, Iteration) { -- cgit v1.2.3