[PATCH] D12922: Add support for function attribute "notail"
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 21:21:02 PDT 2015
On Mon, Oct 19, 2015 at 5:59 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:
> ahatanak updated this revision to Diff 37816.
> ahatanak added a comment.
> Address review comments:
> 1. Renamed the attribute to "not_tail_called".
> I chose "not_tail_called" over "notailcall" or "notail" to better
> distinguish it from the attribute that is proposed in
> http://reviews.llvm.org/D12547 (which is tentatively named
> 2. Made changes to error-out if a virtual function or an objective-c
> method is marked "not_tail_called".
> I made this change because this attribute isn't useful when the compiler
> cannot resolve the function call statically at compile time and it isn't
> important for the use case I have.
> 3. Added code examples to AttrDocs.td.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits