mclow.lists added a comment.

In https://reviews.llvm.org/D45179#1056183, @rjmccall wrote:

> Is Marshall arguing that the standard doesn't allow compilers to warn about 
> failing to use these function results prior to C++17?  Because I don't think 
> that's true; warnings are thoroughly non-normative.


I have proposed to add different forms of "nodiscard" warnings to libc++ in the 
past, and received **strong** pushback from people who:

- Compile with -Werror
- Don't want to change their code.

I'm not willing to have that argument again.


Repository:
  rCXX libc++

https://reviews.llvm.org/D45179



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to