[PATCH] D41039: Add support for attribute "trivial_abi"
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 09:54:57 PST 2018
ahatanak updated this revision to Diff 128767.
ahatanak added a comment.
Address review comments.
I also made changes so that FunctionDecl::IsTrivialForCall is always set to true for special functions of "trivial_abi" classes.
There is still one microsoft IRGen test failing because I haven't implemented serialization of the "ForCall" bits I introduced in FunctionDecl and CXXRecordDecl.
https://reviews.llvm.org/D41039
Files:
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/AST/Type.h
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/AST/DeclCXX.cpp
lib/AST/Type.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaType.cpp
test/CodeGenCXX/trivial_abi.cpp
test/Misc/pragma-attribute-supported-attributes-list.test
test/SemaObjCXX/attr-trivial-abi.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41039.128767.patch
Type: text/x-patch
Size: 46288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180105/874f087f/attachment-0001.bin>
More information about the cfe-commits
mailing list