[PATCH] D64914: Implement P1771
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 05:57:13 PDT 2019
erichkeane created this revision.
erichkeane added reviewers: aaron.ballman, chandlerc.
Herald added a project: clang.
EWG met on 7/18/19 and came to the conclusion that our initial intent
was to apply to constructors, so approved the paper and expected
implementers to use implementers discretion to backport this to previous
standards. ChandlerC was particularly vocal in wanting this.
The intent is to enable the library to start using this on the
constructors of scope_guard/lock_guard.
Repository:
rC Clang
https://reviews.llvm.org/D64914
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64914.210539.patch
Type: text/x-patch
Size: 4770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190718/6e087979/attachment-0001.bin>
More information about the cfe-commits
mailing list