From 90a7bf91943e521cb6e56b50a9ec557ce8e089e7 Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Wed, 13 Jan 2016 23:27:08 +0000 Subject: [PATCH] Tame a -Wunknown-attributes warning git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@257707 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/__config b/include/__config index edda3c5e3..6da6806f6 100644 --- a/include/__config +++ b/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