Use the reserved spellings for attributes
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 9 Feb 2016 04:05:37 +0000 (04:05 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 9 Feb 2016 04:05:37 +0000 (04:05 +0000)
Change the no_sanitize attribute to use the reserved spelling.

llvm-svn: 260195

libcxx/include/__config

index a61b406..44b9163 100644 (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__)