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

Douglas Gregor dgregor at apple.com
Wed Feb 17 10:34:03 PST 2010



Sent from my iPhone

On Feb 17, 2010, at 10:14 AM, Fariborz Jahanian <fjahanian at apple.com>  
wrote:

>
> 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.

Thanks!
> - Fariborz
>
>>
>>
>> 	- Doug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100217/256a2783/attachment.html>


More information about the cfe-commits mailing list