diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2016-01-13 23:27:08 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2016-01-13 23:27:08 +0000 |
commit | 8dfe504bada0f2930eb7bf781471f9da01ceb1ca (patch) | |
tree | 2ddda14405316c6430eef19237652a036ad21481 | |
parent | 22ec3b9c3c4bdd1bdbc3374452ff7b5840b71951 (diff) | |
download | bcm5719-llvm-8dfe504bada0f2930eb7bf781471f9da01ceb1ca.tar.gz bcm5719-llvm-8dfe504bada0f2930eb7bf781471f9da01ceb1ca.zip |
Tame a -Wunknown-attributes warning
llvm-svn: 257707
-rw-r--r-- | libcxx/include/__config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index edda3c5e342..6da6806f6a8 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -434,7 +434,7 @@ namespace std { #endif // Allow for build-time disabling of unsigned integer sanitization -#ifndef _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK +#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"))) #endif |