[cfe-dev] Static member promotion location?

Richard Smith richard at metafoo.co.uk
Wed May 29 15:32:43 PDT 2013


On Wed, May 29, 2013 at 1:19 PM, Tim Northover <t.p.northover at gmail.com>wrote:

> Hi,
>
> I've been trying to track down where clang promotes member functions
> of classes local to a TU to static be static if possible (i.e. drops
> the "this" parameter). It seems to be interacting badly with variadic
> functions on AArch64, and I'd like to track down exactly what's going
> on.
>
> Unfortunately I've not had much luck. Does anyone have any suggestions?
>

This is not something which Clang does. Probably LLVM's deadargelim pass is
doing this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130529/991f7a2c/attachment.html>


More information about the cfe-dev mailing list