Hi, I thought about this when I first implemented this. Turns out g++ does it so I do it too...
-- David Majnemer On Wed, Jun 9, 2010 at 11:20 AM, Anders Carlsson <[email protected]> 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 <[email protected]> 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. >> <class_member_asm.patch> >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
