On Tue, 09 Aug 2011 16:31:18 +0300, bearophile <[email protected]>
wrote:
David Nadlinger:
If deleg->op isn't guaranteed to be either TOKdelegate or TOKfunction,
this is indeed a bug because fd contains garbage otherwise (you don't
nullptr-initialize it).
The HTML Clang output was quite good at showing the path that leads to
such problems. Such HTML is a small thing, but it helps to understand
the error report (and to understand when Clang is wrong too). It's an
idea worth stealing :-)
Microsoft's analyzer outputs a list of line numbers related some
diagnostic messages. I suppose I could add some JavaScript to highlight
said lines when moving the mouse over the error message.
--
Best regards,
Vladimir mailto:[email protected]