diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-07 15:54:23 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-07 15:54:23 +0000 |
commit | bcc77b04bb75722f6acaa29a408d7f8dc1d0e170 (patch) | |
tree | 073baf4cc1f4f6666bc41d4f409ea46cd88f738e /llvm/unittests/IR | |
parent | f6bf62e2d0a08d05a6029d629e2164c8c1e8f655 (diff) | |
download | bcm5719-llvm-bcc77b04bb75722f6acaa29a408d7f8dc1d0e170.tar.gz bcm5719-llvm-bcc77b04bb75722f6acaa29a408d7f8dc1d0e170.zip |
[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
Diffstat (limited to 'llvm/unittests/IR')
-rw-r--r-- | llvm/unittests/IR/ValueMapTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<typename ExpectedType, typename VarType> void CompileAssertHasType(VarType) { - static_assert((is_same<ExpectedType, VarType>::value), "Not the same type"); + static_assert(std::is_same<ExpectedType, VarType>::value, + "Not the same type"); } TYPED_TEST(ValueMapTest, Iteration) { |