[PATCH] D48291: [analyzer][UninitializedObjectChecker] Fixed captured lambda variable name

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 6 08:54:11 PDT 2018


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

Finding the correct captured variable now works with `FieldDecl::getFieldIndex()`.


https://reviews.llvm.org/D48291

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48291.154420.patch
Type: text/x-patch
Size: 5688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180706/53e8d192/attachment.bin>


More information about the cfe-commits mailing list