<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 6, 2011, at 9:06 PM, Chandler Carruth wrote:</div><br class="Apple-interchange-newline"><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">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>How about show when the FileEntry of the note is the same as a previous note/warning but different FileID.</div><br></body></html>