rjmccall added a comment.

Yes, if we think that the committee is likely to include questionable functions 
on the `[[nodiscard]]` list which we don't want to warn about pre-C++17, then 
it makes sense to have two internal macros, one for functions like `std::move` 
that should be unconditionally warned about and one for the 
iffy-bu-standard-directed cases.


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