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
This commit is contained in:
Alp Toker 2014-01-01 23:34:16 +00:00
parent 33cc3f81c1
commit f8735544dc

View File

@ -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) {