[libcxx-commits] [libcxx] [libc++] Applied `[[nodiscard]]` to `<exception>`, `<stdexcept>` and `<system_error>` (PR #170837)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat Dec 6 01:59:17 PST 2025


================
@@ -6,12 +6,15 @@
 //
 //===----------------------------------------------------------------------===//
 
-// UNSUPPORTED: c++03
+// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated
+// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS
----------------
frederick-vs-ja wrote:

Do we still need to additionally enable these given the uses are correctly guarded?

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


More information about the libcxx-commits mailing list