[sanitizer] Use __sanitizer:: in CHECK_IMPL on both sides of assignment

llvm-svn: 313338
This commit is contained in:
Vitaly Buka 2017-09-15 04:05:15 +00:00
parent b4373a986e
commit 461e8c1de8
1 changed files with 2 additions and 2 deletions

View File

@ -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); \