<div class="gmail_quote">On Tue, Sep 6, 2011 at 9:31 PM, Argyrios Kyrtzidis <span dir="ltr"><<a href="mailto:akyrtzi@gmail.com">akyrtzi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><div></div><div class="h5"><div><div>On Sep 6, 2011, at 9:06 PM, Chandler Carruth wrote:</div><br><blockquote type="cite"><div class="gmail_quote">On Tue, Sep 6, 2011 at 8:55 PM, Argyrios Kyrtzidis <span dir="ltr"><<a href="mailto:akyrtzi@gmail.com" target="_blank">akyrtzi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here's an example where I'd like include stack on the note:</blockquote></div><br><div>Interesting example. Is there a heuristic here we could use to actually default some of these back on?</div><div><br></div><div>

Off the cuff, maybe show it if</div><div>- the note and the diagnostic have the same location, and</div><div>- the include stack for the diagnostic and the note differ, and</div><div>- the include stack for the note differs from that of any previous notes for that diagnostic</div>

</blockquote><br></div></div></div><div>How about show when the FileEntry of the note is the same as a previous note/warning but different FileID.</div></div></blockquote></div><br><div>Can you explain this in terms that the average user of Clang (rather than developer) would understand? I *think* i understand it, but i'm not confident.</div>