[PATCH] D57626: Disallow trivial_abi on a class if all copy and move constructors are deleted
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 4 14:38:47 PST 2019
ahatanak updated this revision to Diff 185157.
ahatanak added a comment.
Add a note diagnostic to inform the user of the reason for not allowing annotating a class with `trivial_abi`.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57626/new/
https://reviews.llvm.org/D57626
Files:
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/SemaObjCXX/attr-trivial-abi.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57626.185157.patch
Type: text/x-patch
Size: 8722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190204/dc862323/attachment-0001.bin>
More information about the cfe-commits
mailing list