[cfe-dev] Proposal to simplify ObjC Type AST's

Eli Friedman eli.friedman at gmail.com
Tue May 19 13:30:58 PDT 2009


On Tue, May 19, 2009 at 1:18 PM, Fariborz Jahanian <fjahanian at apple.com> wrote:
> Yes. There is still a question of what to do when 'id'/'Class' 's
> declaration seen in objc.h. Since you going to
> treat them as first-class types. ThenĀ one possible solution is to #ifdef
> them out for clang as its has outlived its
> usefulness.

We can just continue to treat them magically; we already have code for
doing that (see Sema::MergeTypeDefDecl).

-Eli




More information about the cfe-dev mailing list