[cfe-commits] r62028 - in /cfe/trunk: lib/AST/DeclObjC.cpp test/SemaObjC/property-user-setter.m

Fariborz Jahanian fjahanian at apple.com
Sat Jan 10 12:17:24 PST 2009


On Jan 10, 2009, at 12:03 PM, Daniel Dunbar wrote:

> Sure; my question is, can we safely implement isPropertyReadonly  
> this way?

We can.  We currently first check that it is a 'readonly' property and  
make a quick return if
it is not.
Relying on method lookup all the time to decide the same thing is a  
big overhead.
- Fariborz

>



More information about the cfe-commits mailing list