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

Chris Lattner clattner at apple.com
Tue Jul 8 15:11:53 PDT 2008

On Jul 8, 2008, at 2:43 PM, Nuno Lopes wrote:

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

Sounds fine with me, it should be an easy change.


More information about the cfe-dev mailing list