[cfe-dev] Builtin types

Eli Friedman eli.friedman at gmail.com
Wed Feb 22 14:51:49 PST 2012


On Wed, Feb 22, 2012 at 2:45 PM, Phil King <phil_king at rocketmail.com> wrote:
> Thanks, but that gives the 'Kind' for a builtin.
>
> I want to go from a 'Kind' to its canonical QualType. Phil.

Oh... no, I don't think there isn't any way to do that, AFAIK.  The
relevant types are available on ASTContext.

-Eli


>
>
>
> ----- Original Message -----
> From: Eli Friedman <eli.friedman at gmail.com>
> To: Phil King <phil_king at rocketmail.com>
> Cc: Clang dev mailing list <cfe-dev at cs.uiuc.edu>
> Sent: Wednesday, 22 February 2012, 22:15
> Subject: Re: [cfe-dev] Builtin types
>
> On Wed, Feb 22, 2012 at 2:07 PM, Phil King <phil_king at rocketmail.com> wrote:
>> Is there a way to get a BuiltinType * (or a Type *) to a BuiltinType::Kind ?
>
> BuiltinType::getKind()
>
> -Eli
>




More information about the cfe-dev mailing list