projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cc3f8
)
Rename 'assert' to something less loaded in CompileAssertHasType
author
Alp Toker
<alp@nuanti.com>
Wed, 1 Jan 2014 23:34:16 +0000
(23:34 +0000)
committer
Alp Toker
<alp@nuanti.com>
Wed, 1 Jan 2014 23:34:16 +0000
(23:34 +0000)
Suggested by Aaron Ballman.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198288
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/IR/ValueMapTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/IR/ValueMapTest.cpp
b/unittests/IR/ValueMapTest.cpp
index cc844ba30b0b629a17250298bb2bb4ce5bdbf900..ffbe6615282e138861e2fea8b9ba0aef2dbe98d9 100644
(file)
--- 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) {