From 38fc9fe19732465eca9d6fabb1a2d51ad1e2cb93 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 9 Feb 2016 04:05:37 +0000 Subject: Use the reserved spellings for attributes Change the no_sanitize attribute to use the reserved spelling. llvm-svn: 260195 --- libcxx/include/__config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/include') diff --git a/libcxx/include/__config b/libcxx/include/__config index a61b4067a75..44b91639e64 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -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__) -- cgit v1.2.3