summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-07 15:54:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-07 15:54:23 +0000
commit1dd31112ff243a5740f813d91f891acdfdc6209a (patch)
treee31c61dafbb7688f07296792c7ecec3358a51717 /unittests
parent8eccde8617ce0f791a8e287349584db04ee5ee07 (diff)
downloadllvm-1dd31112ff243a5740f813d91f891acdfdc6209a.tar.gz
llvm-1dd31112ff243a5740f813d91f891acdfdc6209a.tar.bz2
llvm-1dd31112ff243a5740f813d91f891acdfdc6209a.tar.xz
[C++11] Now that the users are gone, rip out the duplicated traits from type_traits.h
Simplify the remaining ones a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/IR/ValueMapTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/IR/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp
index 176b56cfbe..6fd87b1e0c 100644
--- a/unittests/IR/ValueMapTest.cpp
+++ b/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) {