[cfe-dev] Clang/LLVM Member Function Pointers size and behavior?

John McCall rjmccall at apple.com
Tue Oct 16 09:09:19 PDT 2012


On Oct 16, 2012, at 8:12 AM, João Matos wrote:
> Check out MicrosoftCXXABI::getMemberPointerSize(const MemberPointerType *MPT), you can probably patch it there.

This is more complicated than just IR-generation;  you need sizeof (which
informs struct layout, etc.) to do the right thing as well.

The more general answer is that Clang's support for matching the MSVC
C++ ABI is still in its relatively early days, and that patches are welcome.

John.



More information about the cfe-dev mailing list