Page MenuHomePhabricator

[analyzer][UninitializedObjectChecker] Refactored checker options

Authored by Szelethus on Sep 5 2018, 4:33 AM.



Since I plan to add a number of new flags, it made sense to encapsulate them in a new struct, in order not to pollute FindUninitializedFieldss constructor with new boolean options with super long names.

This revision practically reverts D50508, since FindUninitializedFields now accesses the pedantic flag anyways. I guess that revision was a poor design choice :^).

Diff Detail

rC Clang

Event Timeline

Szelethus created this revision.Sep 5 2018, 4:33 AM
NoQ accepted this revision.Sep 13 2018, 7:09 PM
NoQ added inline comments.

... = false;, just to initialize fields in the constructor :]

This revision is now accepted and ready to land.Sep 13 2018, 7:09 PM
This revision was automatically updated to reflect the committed changes.