[libcxx-commits] [libcxx] [libc++] Deprecate and remove `uncaught_exception` (PR #101830)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 3 09:31:49 PDT 2024


================
@@ -7,6 +7,10 @@
 //===----------------------------------------------------------------------===//
 
 // UNSUPPORTED: no-exceptions
+
+// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION
----------------
frederick-vs-ja wrote:

Added `test/std/language.support/support.exception/uncaught/uncaught_exeption.depr_in_cxx17.verify.cpp`.

https://github.com/llvm/llvm-project/pull/101830


More information about the libcxx-commits mailing list