[cfe-commits] Allow asm labels to exist on C++ member functions

Anders Carlsson andersca at mac.com
Wed Jun 9 11:20:52 PDT 2010


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.
> <class_member_asm.patch>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list