https://reviews.llvm.org/rL342808 added opt-ins for having [[nodiscard]] on more libc++ functions.
_LIBCPP_ENABLE_NODISCARD enables the ones dictated by C++17, but without having to use C++17. _LIBCPP_NODISCARD_EXT enables more "useful" [[nodiscard]]s.
This sounds useful; we should roll that in and use it.
Comment 1 by thomasanderson@chromium.org
, Oct 11Status: Started (was: Untriaged)