[PATCH] D64914: Implement P1771

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 24 07:38:03 PDT 2019


erichkeane updated this revision to Diff 211504.
erichkeane added a comment.

Casting implementation had to happen in SemaStmt, because other 'warn unused result' stuff depends on them being the way they are.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64914/new/

https://reviews.llvm.org/D64914

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/Expr.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/Sema/SemaStmt.cpp
  clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
  clang/test/Preprocessor/has_attribute.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64914.211504.patch
Type: text/x-patch
Size: 11057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190724/dfd2904a/attachment-0001.bin>


More information about the cfe-commits mailing list