[cfe-dev] CXTypeKind for plain char?

James Dennett james.dennett at gmail.com
Sun Jan 5 12:10:35 PST 2014


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

-- James



More information about the cfe-dev mailing list