[cfe-dev] Native llvm integer types in clang

Jochen Wilhelmy j.wilhelmy at arcor.de
Mon Feb 1 09:35:12 PST 2010


Hi!

is there a way to access the native llvm fixed width types in clang?

there is of course stdint.h which maps e.g.int32_t to int if int
has 32 bit. But is there a way to access the native types
like i32? perhaps via __i32 or __int(32) or whatever,
ranging from i1 to i256 ;-)
This also would simplify stdint.h.

But I guess this makes internal problens e.g. in the
name mangling.

-Jochen




More information about the cfe-dev mailing list