[cfe-commits] r69950 - in /cfe/trunk/lib/Sema: Sema.h SemaDecl.cpp SemaDeclObjC.cpp SemaLookup.cpp

Douglas Gregor dgregor at apple.com
Fri Apr 24 08:47:48 PDT 2009


On Apr 23, 2009, at 7:57 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Thu Apr 23 21:57:34 2009
> New Revision: 69950
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69950&view=rev
> Log:
> Eliminate Sema::ObjCAliasDecls. This is based on Steve's fix, but also
> updates name lookup so that we see through @compatibility_alias
> declarations to their underlying interfaces.

In aggregate, the various Objective-C cleanups have caused a 1.6%  
slowdown in parsing Cocoa.h. On the other hand, they enable lazy  
deserialization of these entities from PCH files. So, (1) we should  
see if we can get this 1.6% back through more careful management of  
the declaration chains in the identifier resolver, and (2) if PCH  
doesn't give us the win that we expect, we should consider reverting  
my cleanup patches.

	- Doug



More information about the cfe-commits mailing list