forked from OSchip/llvm-project
[sanitizer] Use __sanitizer:: in CHECK_IMPL on both sides of assignment
llvm-svn: 313338
This commit is contained in:
parent
b4373a986e
commit
461e8c1de8
|
@ -261,8 +261,8 @@ void NORETURN CheckFailed(const char *file, int line, const char *cond,
|
|||
|
||||
#define CHECK_IMPL(c1, op, c2) \
|
||||
do { \
|
||||
__sanitizer::u64 v1 = (u64)(c1); \
|
||||
__sanitizer::u64 v2 = (u64)(c2); \
|
||||
__sanitizer::u64 v1 = (__sanitizer::u64)(c1); \
|
||||
__sanitizer::u64 v2 = (__sanitizer::u64)(c2); \
|
||||
if (UNLIKELY(!(v1 op v2))) \
|
||||
__sanitizer::CheckFailed(__FILE__, __LINE__, \
|
||||
"(" #c1 ") " #op " (" #c2 ")", v1, v2); \
|
||||
|
|
Loading…
Reference in New Issue