Ignore depricated warnings from <ext/hash_map> and <ext/hash_set>

llvm-svn: 272632
This commit is contained in:
Eric Fiselier 2016-06-14 03:26:11 +00:00
parent 81a88beec4
commit 10e3d1764a
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,11 @@
//
//===----------------------------------------------------------------------===//
// Prevent emission of the deprecated warning.
#ifdef __clang__
#pragma clang diagnostic ignored "-W#warnings"
#endif
#include <ext/hash_map>
namespace __gnu_cxx {

View File

@ -7,6 +7,11 @@
//
//===----------------------------------------------------------------------===//
// Prevent emission of the deprecated warning.
#ifdef __clang__
#pragma clang diagnostic ignored "-W#warnings"
#endif
#include <ext/hash_set>
namespace __gnu_cxx {