From fc6d7d6cf53a539555f2065a059300e181ddb94b Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 2 Mar 2014 13:10:45 +0000 Subject: [C++11] Replace LLVM_STATIC_ASSERT with static_assert, we now have access to it on all host toolchains. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202642 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/IR/ValueMapTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unittests') diff --git a/unittests/IR/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp index 5493e3e1e3..4c8a4a9372 100644 --- a/unittests/IR/ValueMapTest.cpp +++ b/unittests/IR/ValueMapTest.cpp @@ -117,8 +117,7 @@ TYPED_TEST(ValueMapTest, OperationsWork) { template void CompileAssertHasType(VarType) { - LLVM_STATIC_ASSERT((is_same::value), - "Not the same type"); + static_assert((is_same::value), "Not the same type"); } TYPED_TEST(ValueMapTest, Iteration) { -- cgit v1.2.3