<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 27, 2015 at 5:28 PM, Paul Robinson <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's an arguable gray area in the compiler/debugger contract.  How much<br>
does the compiler _require_ the debugger to know?  (Which is different<br>
from how much the debugger knows for the purpose of improving the user's<br>
debugging experience.)<br></blockquote><div><br>I don't quite see the grey here - I thought the line of reasoning you've provided in the past was fairly simple: source fidelity. The source doesn't have a using directive in it, so I don't know why we'd expect to see one in the debug info.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This change reduces that requirement, with very low size cost (which we<br>
are pretty sensitive to).  A debugger that auto-imports anonymous<br>
namespaces will see the import and recognize that it has already imported<br>
 that scope, so the cost there is also very low.<br>
<br>
Not seeing a whole lot of down-side here.<br></blockquote><div><br>Mostly just principles & a desire not to add cruft in source or output.<br><br>Not sure if other people have any opinion on this, I'm happy to defer.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="http://reviews.llvm.org/D7895" target="_blank">http://reviews.llvm.org/D7895</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>