summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ext
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-10 21:40:58 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-10 21:40:58 +0000
commit0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2 (patch)
tree3ff6890c161d16523d9d6b3b71b32657a750a976 /libcxx/include/ext
parentabea18feba27b9121593c886ae0c0597e8f658e3 (diff)
downloadbcm5719-llvm-0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2.tar.gz
bcm5719-llvm-0c6e7ae4cc8039af611d7a5cf153d9bb7664f3e2.zip
Remove usages of _LIBCPP_MSVC which is never defined
llvm-svn: 302736
Diffstat (limited to 'libcxx/include/ext')
-rw-r--r--libcxx/include/ext/hash_map2
-rw-r--r--libcxx/include/ext/hash_set2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index 66f2b11c059..998e8f65994 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -207,7 +207,7 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
#include <ext/__hash>
#if __DEPRECATED
-#if defined(_LIBCPP_MSVC)
+#if defined(_LIBCPP_WARNING)
_LIBCPP_WARNING("Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>")
#else
# warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>
diff --git a/libcxx/include/ext/hash_set b/libcxx/include/ext/hash_set
index 916ed6910d7..38f81ed3b5c 100644
--- a/libcxx/include/ext/hash_set
+++ b/libcxx/include/ext/hash_set
@@ -199,7 +199,7 @@ template <class Value, class Hash, class Pred, class Alloc>
#include <ext/__hash>
#if __DEPRECATED
-#if defined(_LIBCPP_MSVC)
+#if defined(_LIBCPP_WARNING)
_LIBCPP_WARNING("Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>")
#else
# warning Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>
OpenPOWER on IntegriCloud