forked from OSchip/llvm-project
Use the reserved spellings for attributes
Change the no_sanitize attribute to use the reserved spelling. llvm-svn: 260195
This commit is contained in:
parent
f5f2f5f159
commit
38fc9fe197
|
@ -436,7 +436,7 @@ namespace std {
|
||||||
|
|
||||||
// Allow for build-time disabling of unsigned integer sanitization
|
// Allow for build-time disabling of unsigned integer sanitization
|
||||||
#if !defined(_LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK) && __has_attribute(no_sanitize)
|
#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")))
|
#define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK __attribute__((__no_sanitize__("unsigned-integer-overflow")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
|
|
Loading…
Reference in New Issue