Run Microsoft Analyzer over dmd source code
Vladimir Panteleev
vladimir at thecybershadow.net
Tue Aug 9 10:27:57 PDT 2011
On Tue, 09 Aug 2011 16:31:18 +0300, bearophile <bearophileHUGS at lycos.com>
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:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list