[cfe-commits] Allow asm labels to exist on C++ member functions
david.majnemer at gmail.com
Wed Jun 9 15:49:33 PDT 2010
I thought about this when I first implemented this. Turns out g++ does
it so I do it too...
On Wed, Jun 9, 2010 at 11:20 AM, Anders Carlsson <andersca at mac.com> wrote:
> Hi David,
> Would it make sense to only allow this on static member functions?
> - Anders
> Sent from my iPad
> On Jun 9, 2010, at 11:13 AM, David Majnemer <david.majnemer at gmail.com> wrote:
>> GCC has an extension called "Asm Labels" which clang dutifully
>> implements for normal function declarations but does not implement for
>> class member functions.
>> I have attached a patch that seems to work, the generated assembly
>> seems to be correct.
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
More information about the cfe-commits