[cfe-commits] r96479 - in /cfe/trunk: lib/Sema/SemaDeclObjC.cpp test/SemaObjC/stand-alone-implementation.m
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.
> - Doug
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits