Run Microsoft Analyzer over dmd source code

bearophile bearophileHUGS at lycos.com
Tue Aug 9 06:31:18 PDT 2011


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 :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list