[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_DISABLE_NODISCARD_EXTENSIONS and refactor the tests (PR #87094)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 8 21:16:44 PDT 2024


================
@@ -60,6 +60,10 @@ Improvements and New Features
 Deprecations and Removals
 -------------------------
 
+- ``_LIBCPP_DISABLE_NODISCARD_EXT`` has been removed. ``[[nodiscard]]`` applications are now unconditional.
+  This decision is based on LEWGs discussion on `P3122 <https://wg21.link/P3122>` and `P3162 <https://wg21.link/P3122>`
----------------
Zingam wrote:

```suggestion
  This decision is based on LEWGs discussion on `P3122 <https://wg21.link/P3122>` and `P3162 <https://wg21.link/P3162>`
```

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


More information about the libcxx-commits mailing list