[PATCH] D150744: [NFC][CLANG] Fix uninitialized scalar field issues found by Coverity

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 17 13:00:52 PDT 2023


tahonermann added a comment.

I'm not opposed to these changes, but please note that these changes mean is will no longer be possible to use ubsan to discover when these data members are used before having been assigned an appropriate value. That is only a concern when an appropriate value would differ from the member initializers added via this change. I haven't reviewed the changes in depth, so I don't know if there are any such cases for which such a concern is applicable.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150744/new/

https://reviews.llvm.org/D150744



More information about the cfe-commits mailing list