[cfe-commits] r96479 - in /cfe/trunk: lib/Sema/SemaDeclObjC.cpp test/SemaObjC/stand-alone-implementation.m

Fariborz Jahanian fjahanian at apple.com
Wed Feb 17 10:14:24 PST 2010


On Feb 17, 2010, at 9:21 AM, Douglas Gregor wrote:

>
> On Feb 17, 2010, at 9:00 AM, Fariborz Jahanian wrote:
>
>>
> By doing this, we lose track of whether the ivars came from the  
> @implementation or the @interface. An alternative approach would be  
> for the ivars to go into the @implementation's context (that's its  
> lexical context), then to use
>
> 	IDecl->makeDeclVisibleInContext(ivars[i], false);
>
> so that name lookup will find those ivars when it searches in the  
> interface. That way, we maintain source fidelity and still get the  
> semantics we want.

Done in r96484.

- Fariborz

>
>
> 	- Doug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100217/80010dd1/attachment.html>


More information about the cfe-commits mailing list