mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-30 05:24:22 +00:00
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:
@ -118,7 +118,7 @@ TYPED_TEST(ValueMapTest, OperationsWork) {
|
|||||||
template<typename ExpectedType, typename VarType>
|
template<typename ExpectedType, typename VarType>
|
||||||
void CompileAssertHasType(VarType) {
|
void CompileAssertHasType(VarType) {
|
||||||
LLVM_ATTRIBUTE_UNUSED typedef char
|
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) {
|
TYPED_TEST(ValueMapTest, Iteration) {
|
||||||
|
Reference in New Issue
Block a user