diff options
author | Alp Toker <alp@nuanti.com> | 2014-01-01 23:34:16 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-01-01 23:34:16 +0000 |
commit | f8735544dc5c75a0b0de7ff13e130ad93d9a1ac1 (patch) | |
tree | a152289916f2c5e67e933733ea2aa3e26678aa42 /unittests/IR | |
parent | 33cc3f81c1f5475b62332262bec3b816b9d8202e (diff) |
Rename 'assert' to something less loaded in CompileAssertHasType
Suggested by Aaron Ballman.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/IR')
-rw-r--r-- | unittests/IR/ValueMapTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/IR/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp index cc844ba30b0..ffbe6615282 100644 --- a/unittests/IR/ValueMapTest.cpp +++ b/unittests/IR/ValueMapTest.cpp @@ -118,7 +118,7 @@ TYPED_TEST(ValueMapTest, OperationsWork) { template<typename ExpectedType, typename VarType> void CompileAssertHasType(VarType) { LLVM_ATTRIBUTE_UNUSED typedef char - assert[is_same<ExpectedType, VarType>::value ? 1 : -1]; + NOT_SAME[is_same<ExpectedType, VarType>::value ? 1 : -1]; } TYPED_TEST(ValueMapTest, Iteration) { |