[PATCH] D48436: [analyzer][UninitializedObjectChecker] Fixed a false negative by no longer filtering out certain constructor calls

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 21 10:29:14 PDT 2018


Szelethus updated this revision to Diff 152343.
Szelethus added a comment.

Moved `LC = LC ->getParent()` to the `while` statement's argument to avoid a potential infinite loop. Whoops :)


https://reviews.llvm.org/D48436

Files:
  lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp
  test/Analysis/cxx-uninitialized-object.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48436.152343.patch
Type: text/x-patch
Size: 4153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180621/e3352a27/attachment.bin>


More information about the cfe-commits mailing list