summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-02-09 04:05:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-02-09 04:05:37 +0000
commit38fc9fe19732465eca9d6fabb1a2d51ad1e2cb93 (patch)
tree823c43b9ef82dd7cb9878b85ae59a800b9d19a26 /libcxx
parentf5f2f5f15953e68ba1b1c5feff0908feab833b33 (diff)
downloadbcm5719-llvm-38fc9fe19732465eca9d6fabb1a2d51ad1e2cb93.tar.gz
bcm5719-llvm-38fc9fe19732465eca9d6fabb1a2d51ad1e2cb93.zip
Use the reserved spellings for attributes
Change the no_sanitize attribute to use the reserved spelling. llvm-svn: 260195
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/__config2
1 files changed, 1 insertions, 1 deletions
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__)
OpenPOWER on IntegriCloud