[PATCH] D12922: Add support for function attribute "notail"
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 19:17:28 PDT 2015
ahatanak updated this revision to Diff 37437.
ahatanak added a comment.
Address some of the review comments:
- Added a c++ test which tests the c++ spelling of the attribute on member functions and shows which virtual functions calls get marked as "notail" in the IR.
- Added a check that was missing in always_inline attribute handler.
- Fixed test/Sema/attr-notail.c to test always_inline and notail are mutually exclusive, regardless of the order in which they are added to the function.
http://reviews.llvm.org/D12922
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/CGCall.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/attr-no-tail.c
test/CodeGenCXX/attr-notail.cpp
test/Sema/attr-notail.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12922.37437.patch
Type: text/x-patch
Size: 6315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151015/b8fce2ae/attachment.bin>
More information about the cfe-commits
mailing list