Ignore depricated warnings from <ext/hash_map> and <ext/hash_set>
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,6 +7,11 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// Prevent emission of the deprecated warning.
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-W#warnings"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ext/hash_map>
|
#include <ext/hash_map>
|
||||||
|
|
||||||
namespace __gnu_cxx {
|
namespace __gnu_cxx {
|
||||||
|
|||||||
@@ -7,6 +7,11 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
// Prevent emission of the deprecated warning.
|
||||||
|
#ifdef __clang__
|
||||||
|
#pragma clang diagnostic ignored "-W#warnings"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ext/hash_set>
|
#include <ext/hash_set>
|
||||||
|
|
||||||
namespace __gnu_cxx {
|
namespace __gnu_cxx {
|
||||||
|
|||||||
Reference in New Issue
Block a user