[libcxx-commits] [libcxx] b6d2460 - [libc++] Remove _LIBCPP_DISABLE_NODISCARD_AFTER_CXX17 documentation

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Sep 2 07:17:59 PDT 2023


Author: Nikolas Klauser
Date: 2023-09-02T07:17:32-07:00
New Revision: b6d2460fd4ec13e949ccd5c23a1635e36a1c6aa8

URL: https://github.com/llvm/llvm-project/commit/b6d2460fd4ec13e949ccd5c23a1635e36a1c6aa8
DIFF: https://github.com/llvm/llvm-project/commit/b6d2460fd4ec13e949ccd5c23a1635e36a1c6aa8.diff

LOG: [libc++] Remove _LIBCPP_DISABLE_NODISCARD_AFTER_CXX17 documentation

We've removed this flag a while ago, so we shouldn't list it anymore.

Added: 
    

Modified: 
    libcxx/docs/UsingLibcxx.rst

Removed: 
    


################################################################################
diff  --git a/libcxx/docs/UsingLibcxx.rst b/libcxx/docs/UsingLibcxx.rst
index ea8c415e280b7a..1859645320a405 100644
--- a/libcxx/docs/UsingLibcxx.rst
+++ b/libcxx/docs/UsingLibcxx.rst
@@ -291,11 +291,6 @@ C++17 Specific Configuration Macros
 
 C++20 Specific Configuration Macros
 -----------------------------------
-**_LIBCPP_DISABLE_NODISCARD_AFTER_CXX17**:
-  This macro can be used to disable diagnostics emitted from functions marked
-  ``[[nodiscard]]`` in dialects after C++17.  See :ref:`Extended Applications of [[nodiscard]] <nodiscard extension>`
-  for more information.
-
 **_LIBCPP_ENABLE_CXX20_REMOVED_FEATURES**:
   This macro is used to re-enable all the features removed in C++20. The effect
   is equivalent to manually defining each macro listed below.


        


More information about the libcxx-commits mailing list