[cfe-dev] Question about include stack printing on diagnostic notes

Chandler Carruth chandlerc at google.com
Tue Sep 6 21:06:27 PDT 2011


On Tue, Sep 6, 2011 at 8:55 PM, Argyrios Kyrtzidis <akyrtzi at gmail.com>wrote:

> Here's an example where I'd like include stack on the note:


Interesting example. Is there a heuristic here we could use to actually
default some of these back on?

Off the cuff, maybe show it if
- the note and the diagnostic have the same location, and
- the include stack for the diagnostic and the note differ, and
- the include stack for the note differs from that of any previous notes for
that diagnostic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110906/b2c2ddbc/attachment.html>


More information about the cfe-dev mailing list