[libcxx-commits] [PATCH] D129054: [libc++] Consolidate the different [[nodiscard]] configuration options into a single one
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 14 02:14:53 PDT 2022
philnik added inline comments.
================
Comment at: libcxx/include/__config:833
+# if _LIBCPP_STD_VER > 17 || defined(_LIBCPP_ENABLE_NODISCARD_EXT)
# define _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_NODISCARD
# else
----------------
Mordante wrote:
> Do we need two different macros or can they be combined? It doesn't need to be done in this patch.
IIUC we still want to distinguish between standards-mandated applications and extensions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129054/new/
https://reviews.llvm.org/D129054
More information about the libcxx-commits
mailing list