[cfe-commits] [PATCH] ObjC: interface decls pointing to implementation decls

Douglas Gregor dgregor at apple.com
Mon Jul 20 13:34:03 PDT 2009


On Jul 20, 2009, at 11:45 AM, Argyrios Kyrtzidis wrote:

>
> On Jul 20, 2009, at 11:34 AM, steve naroff wrote:
>> For example, *every* ParmVarDecl currently
>> has a DefaultArg slot (that is only available for C++). Cocoa.h has
>> 30,000 ParmVarDecl's! Might be interesting to consider using an
>> ASTContext Map to store these as well.
>
> On this particular case, is there a reason we don't reuse VarDecl's
> Init Stmt* field for C++ default arg ?


It's definitely my fault, but I have no idea why I didn't just re-use  
the VarDecl::Init field for the default argument. I'll clean it up now.

	- Doug



More information about the cfe-commits mailing list