<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 17, 2010, at 9:21 AM, Douglas Gregor wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>On Feb 17, 2010, at 9:00 AM, Fariborz Jahanian wrote:<br><br><blockquote type="cite"><br></blockquote>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 <br><br><span class="Apple-tab-span" style="white-space:pre"> </span>IDecl->makeDeclVisibleInContext(ivars[i], false);<br><br>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.</blockquote><div><br class="webkit-block-placeholder"></div>Done in <span class="Apple-style-span" style="font-weight: bold; ">r96484.</span></div><div><b><br class="webkit-block-placeholder"></b></div><div><b>- Fariborz</b></div><div><b><br></b><blockquote type="cite"><br><br><span class="Apple-tab-span" style="white-space:pre">     </span>- Doug</blockquote></div><br></body></html>