Tame a -Wunknown-attributes warning
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@257707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -434,7 +434,7 @@ namespace std {
|
||||
#endif
|
||||
|
||||
// Allow for build-time disabling of unsigned integer sanitization
|
||||
#ifndef _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
|
||||
#if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize)
|
||||
#define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK __attribute((no_sanitize("unsigned-integer-overflow")))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user