Only use Clang pragma when compiling with clang.

llvm-svn: 180678
This commit is contained in:
Joerg Sonnenberger 2013-04-27 19:10:15 +00:00
parent e037a492f3
commit ff3ce2bdc0
1 changed files with 2 additions and 0 deletions

View File

@ -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