Only use Clang pragma when compiling with clang.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df4182153c
commit
006ab1e213
@ -12,7 +12,9 @@
|
||||
#include "stdexcept"
|
||||
#include "type_traits"
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare"
|
||||
#endif
|
||||
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user