[cfe-dev] CXTypeKind for plain char?

Milian Wolff mail at milianw.de
Sun Jan 5 13:04:23 PST 2014


On Sunday 05 January 2014 12:10:35 James Dennett wrote:
> On Sun, Jan 5, 2014 at 9:22 AM, Milian Wolff <mail at milianw.de> wrote:
> > Hey all,
> > 
> > why is there no CXTypeKind in clang-c/Index.h for "plain chars"?
> 
> I believe that there are such types: CXType_Char_U and CXType_Char_S
> are for "char", which CXType_UChar and CXType_SChar are for "unsigned
> char" and "signed char" respectively.  (If you don't care whether
> "char" is signed or unsigned, you can treat Char_U and Char_S the same
> way.)

Doh, indeed - sorry for the noise and thanks for the clarification.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de



More information about the cfe-dev mailing list