[PATCH] D45179: [libc++] Add _LIBCPP_ENABLE_NODISCARD and _LIBCPP_NODISCARD_EXT to allow pre-C++2a [[nodiscard]]

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 16:01:57 PDT 2018


EricWF added a comment.

A couple other notes:

- Add an application of `_LIBCPP_NODISCARD_EXT` to `get_temporary_buffer` to demonstrate usage.


https://reviews.llvm.org/D45179





More information about the cfe-commits mailing list