[cfe-dev] new -Wuninitialized implementation in Clang

Ted Kremenek kremenek at apple.com
Thu Feb 3 22:34:24 PST 2011


On Feb 3, 2011, at 9:34 PM, Nico Weber wrote:

> My personal impression is that it can be difficult to understand when
> this new mechanism warns, and most of the time when it warns, it's
> warns about false positives.

I'm not certain if the second statement is truly fair.  This is code that has already been vetted for uses of uninitialized values.  Your point is taken, however, that the remaining false positives are noise that GCC doesn't warn about.  The question I'd rather we focus on asking is what should we do about those cases?



More information about the cfe-dev mailing list