summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-12 20:10:06 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-12 20:10:06 +0000
commita470a13a7063e8c5318fe4f5ba864320092c6c7b (patch)
treeabb1bde10922a9c0a32d19d08ce2b7ef7443a111 /libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
parent8259cc33576a7da9aa12c350b6fe9e39ac8867ef (diff)
downloadbcm5719-llvm-a470a13a7063e8c5318fe4f5ba864320092c6c7b.tar.gz
bcm5719-llvm-a470a13a7063e8c5318fe4f5ba864320092c6c7b.zip
[libc++] Enable deprecation warnings by default
Summary: In r342843, I added deprecation warnings to some facilities that were deprectated in C++14 and C++17. However, those deprecation warnings were not enabled by default. After discussing this on IRC, we had finally gotten consensus to enable those warnings by default, and I'm getting around to doing that only now. Reviewers: mclow.lists, EricWF Subscribers: christof, jkorous, dexonsmith, jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D58140 llvm-svn: 355961
Diffstat (limited to 'libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp')
-rw-r--r--libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp b/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
index e00cfe7c328..65cde496c1a 100644
--- a/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
+++ b/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
@@ -14,9 +14,7 @@
// UNSUPPORTED: c++98, c++03
// REQUIRES: verify-support
-// MODULES_DEFINES: _LIBCPP_ENABLE_DEPRECATION_WARNINGS
// MODULES_DEFINES: _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
-#define _LIBCPP_ENABLE_DEPRECATION_WARNINGS
#define _LIBCPP_ENABLE_CXX17_REMOVED_BINDERS
#include <functional>
OpenPOWER on IntegriCloud