Skip to content

Commit b6d2460

Browse files
committed
[libc++] Remove _LIBCPP_DISABLE_NODISCARD_AFTER_CXX17 documentation
We've removed this flag a while ago, so we shouldn't list it anymore.
1 parent 5dcd666 commit b6d2460

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libcxx/docs/UsingLibcxx.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,6 @@ C++17 Specific Configuration Macros
291291

292292
C++20 Specific Configuration Macros
293293
-----------------------------------
294-
**_LIBCPP_DISABLE_NODISCARD_AFTER_CXX17**:
295-
This macro can be used to disable diagnostics emitted from functions marked
296-
``[[nodiscard]]`` in dialects after C++17. See :ref:`Extended Applications of [[nodiscard]] <nodiscard extension>`
297-
for more information.
298-
299294
**_LIBCPP_ENABLE_CXX20_REMOVED_FEATURES**:
300295
This macro is used to re-enable all the features removed in C++20. The effect
301296
is equivalent to manually defining each macro listed below.

0 commit comments

Comments
 (0)