summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-01 23:34:16 +0000
committerAlp Toker <alp@nuanti.com>2014-01-01 23:34:16 +0000
commit18787628a7ef9a06e26276f0d9c2ef60854f5816 (patch)
tree4c272ea95e682d891c6a1b7d05934cb3be0657ee
parent6994fdf33ca0853be55b7db01f7320c42441a79b (diff)
downloadbcm5719-llvm-18787628a7ef9a06e26276f0d9c2ef60854f5816.tar.gz
bcm5719-llvm-18787628a7ef9a06e26276f0d9c2ef60854f5816.zip
Rename 'assert' to something less loaded in CompileAssertHasType
Suggested by Aaron Ballman. llvm-svn: 198288
-rw-r--r--llvm/unittests/IR/ValueMapTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/ValueMapTest.cpp b/llvm/unittests/IR/ValueMapTest.cpp
index cc844ba30b0..ffbe6615282 100644
--- a/llvm/unittests/IR/ValueMapTest.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud