[cfe-commits] r107572 - in /cfe/trunk: lib/CodeGen/MicrosoftCXXABI.cpp test/CodeGenCXX/mangle-ms.cpp

Fariborz Jahanian fjahanian at apple.com
Tue Jul 6 08:23:56 PDT 2010


On Jul 5, 2010, at 11:42 AM, Charles Davis wrote:

> On 7/5/10 11:19 AM, Fariborz Jahanian wrote:
>> Any reason you can't follow gcc/clang's mangling scheme for
>> blocks; such as '@' is already being used?
> Hm? You seem to be confusing Objective-C encodings with the C++  
> mangling

Yes I was. Thanks for clarification.

- fariborz

> scheme. Not even gcc uses '@' for blocks in C++ mangled names. It uses
> 'U13block_pointer' (like clang does in Itanium mode). Besides, the '@'
> character is special in the Microsoft scheme. It's used to terminate
> names and argument lists. It's also used in 'structor names in place  
> of
> the return type, because 'structors don't have declared return types.
>
> Chip




More information about the cfe-commits mailing list