<html><body bgcolor="#FFFFFF"><div><br><br>Sent from my iPhone</div><div><br>On Feb 17, 2010, at 10:14 AM, Fariborz Jahanian <<a href="mailto:fjahanian@apple.com">fjahanian@apple.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><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></blockquote><div><br></div>Thanks!<br><blockquote type="cite"><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></div></blockquote></body></html>