[libcxx-commits] [libcxx] [libc++] Remove and deprecate `uncaught_exception` (PR #101830)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Aug 3 08:27:48 PDT 2024
================
@@ -7,6 +7,10 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: no-exceptions
+
+// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
----------------
mordante wrote:
Can you add a new `.verify` test to validate the deprecation?
look at `test/std/utilities/function.objects/negators/unary_negate.depr_in_cxx17.verify.cpp` for an example.
https://github.com/llvm/llvm-project/pull/101830
More information about the libcxx-commits
mailing list