[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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@355961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Louis Dionne
2019-03-12 20:10:06 +00:00
parent 2ab98fbcd4
commit 9807685d51
87 changed files with 157 additions and 38 deletions

View File

@@ -10,6 +10,8 @@
// binary_negate
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
#include <functional>
#include <type_traits>
#include <cassert>