[libcxx-commits] [PATCH] D58140: [libc++] Enable deprecation warnings by default

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 12 11:25:53 PST 2019


ldionne created this revision.
ldionne added a reviewer: mclow.lists.
Herald added a reviewer: EricWF.
Herald added subscribers: libcxx-commits, jdoerfert, dexonsmith, jkorous, christof.

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.


Repository:
  rCXX libc++

https://reviews.llvm.org/D58140

Files:
  libcxx/docs/UsingLibcxx.rst
  libcxx/include/__config
  libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp
  libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.depr_in_cxx14.fail.cpp
  libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp
  libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.depr_in_cxx11.fail.cpp
  libcxx/test/libcxx/depr/depr.function.objects/adaptors.depr_in_cxx11.fail.cpp
  libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp
  libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
  libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp
  libcxx/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp
  libcxx/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp
  libcxx/test/std/utilities/function.objects/negators/binary_negate.depr_in_cxx17.fail.cpp
  libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp
  libcxx/test/std/utilities/function.objects/negators/not1.depr_in_cxx17.fail.cpp
  libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp
  libcxx/test/std/utilities/function.objects/negators/not2.depr_in_cxx17.fail.cpp
  libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp
  libcxx/test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.fail.cpp
  libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58140.186523.patch
Type: text/x-patch
Size: 12172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190212/adb580c1/attachment-0001.bin>


More information about the libcxx-commits mailing list