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

Charles Davis cdavis at mymail.mines.edu
Mon Jul 5 11:42:57 PDT 2010

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
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.


More information about the cfe-commits mailing list