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

David Majnemer david.majnemer at gmail.com
Wed Jun 9 11:13:09 PDT 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class_member_asm.patch
Type: application/octet-stream
Size: 1046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100609/f21d0cab/attachment.obj>


More information about the cfe-commits mailing list