diff options
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/IR/ValueMapTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<typename ExpectedType, typename VarType> void CompileAssertHasType(VarType) { - LLVM_STATIC_ASSERT((is_same<ExpectedType, VarType>::value), - "Not the same type"); + static_assert((is_same<ExpectedType, VarType>::value), "Not the same type"); } TYPED_TEST(ValueMapTest, Iteration) { |