summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR
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
commitbcc77b04bb75722f6acaa29a408d7f8dc1d0e170 (patch)
tree073baf4cc1f4f6666bc41d4f409ea46cd88f738e /llvm/unittests/IR
parentf6bf62e2d0a08d05a6029d629e2164c8c1e8f655 (diff)
downloadbcm5719-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.cpp3
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) {
OpenPOWER on IntegriCloud