[llvm-bugs] [Bug 42072] [[nodiscard]] should work on constructors
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 15 08:44:57 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=42072
Erich Keane <erich.keane at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
CC| |erich.keane at intel.com
--- Comment #5 from Erich Keane <erich.keane at intel.com> ---
The standards committee actually chose to allow nodiscard on constructors or
types (wg21.link/P1771), and I implemented it here:
https://github.com/llvm/llvm-project/commit/46441fdb3c1da5d2c40263d160bdd585f0c3f7d3
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200115/86a78996/attachment.html>
More information about the llvm-bugs
mailing list