[cfe-dev] Source information for types
Devang Patel
devang.patel at gmail.com
Wed Jul 15 18:30:13 PDT 2009
On Wed, Jul 8, 2009 at 6:56 PM, Argyrios Kyrtzidis<kyrtzidis at apple.com> wrote:
>> Ah, so SourceType inherits from Type? That feels slightly nasty, but
>> it works, I guess.
>
> Yes, it will be a Type subclass that the type system should not deal
> with and should not be aware of (e.g. CodeGen will never come across a
> SourceType).
Why not ? Right now CodeGen uses
Ty->getDecl()->getLocation();
to find the type def location for debug info entries.
-
Devang
More information about the cfe-dev
mailing list