================ @@ -199,6 +199,10 @@ Removed Compiler Flags Attribute Changes in Clang -------------------------- +- A new attribute ``[[clang::candiscard]]`` can be applied to a function returning a nodiscard type ---------------- Sirraide wrote:
I’m not aware of any discussion but perhaps I just missed it; `discardable` sgtm though. https://github.com/llvm/llvm-project/pull/154943 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits