[libcxx-commits] [PATCH] D102992: [libcxx][type_traits] deprecates `std::is_literal_type` and remove it for C++20

Wmbat via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 24 09:44:57 PDT 2021


Wmbat updated this revision to Diff 347429.
Wmbat added a comment.

- Added an extra test for checking deprecation message
- Removed extra lines and other minor problems
- Replaced all instances of ```

#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"

  with 

// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS

  


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102992/new/

https://reviews.llvm.org/D102992

Files:
  libcxx/include/type_traits
  libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ctor.pass.cpp
  libcxx/test/std/utilities/any/any.class/not_literal_type.pass.cpp
  libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.deprecated.fail.cpp
  libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.pass.cpp
  libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_literal_type.removed.verify.cpp
  libcxx/test/std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102992.347429.patch
Type: text/x-patch
Size: 4968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210524/7c474500/attachment-0001.bin>


More information about the libcxx-commits mailing list