Use the reserved spellings for attributes

Change the no_sanitize attribute to use the reserved spelling.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@260195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Saleem Abdulrasool
2016-02-09 04:05:37 +00:00
parent 398588caf7
commit f3adaaf5d7

View File

@@ -436,7 +436,7 @@ namespace std {
// Allow for build-time disabling of unsigned integer sanitization
#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
#elif defined(__GNUC__)