[cfe-dev] Fwd: [analyzer] UninitializedObjectChecker evaluation

Kristóf Umann via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 15 08:43:22 PDT 2018


My apologies, I accidentally pressed send mail.

> * We could find the discriminators using name conventions just as Kristóf
mentioned
> * Suppress reports from classes with most of their fields being
uninitialized. This is a threshold kind of thing that is unpopular to some
since some could could bounce back and forth around the threshold.

I think a mix of these ideas could be good: objects that contain a field
that has tag/kind in their name of type name should be ignored if they
cross an initialized field / uninitialized field ratio.

Kristóf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180815/5cc0b23e/attachment.html>


More information about the cfe-dev mailing list