[cfe-dev] name compatibility with llvm-gcc?

Nuno Lopes nunoplopes at sapo.pt
Tue Jul 8 14:43:58 PDT 2008


Hi,

I noticed that struct and union LLVM type names generated by clang and 
llvm-gcc don't follow the same naming convention, which is causing me some 
headaches.
llvm-gcc uses the following convention: struct.struct_name; 
struct.union_name
while clang uses: struct._struct_name; union._union_name.

Can we change clang so that clang respects llvm-gcc's ABI? I would 
appreciate this change (I'm using clang, while my colleague is using 
llvm-gcc..).

Thanks,
Nuno 




More information about the cfe-dev mailing list