[PATCH] D50509: [analyzer][UninitializedObjectChecker] Refactoring p6.: Move dereferencing to a function

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 9 06:30:45 PDT 2018


Szelethus created this revision.
Szelethus added reviewers: george.karpenkov, NoQ, xazax.hun, rnkovacs.
Herald added subscribers: cfe-commits, mikhail.ramalho, a.sidorin, szepet, whisperity.

Now that it has it's own file, it makes little sense for `isPointerOrReferenceUninit` to be this large, so I moved dereferencing to a separate function.

Note that this is part 6, but only relies on https://reviews.llvm.org/D50504, not part https://reviews.llvm.org/D50508.


Repository:
  rC Clang

https://reviews.llvm.org/D50509

Files:
  lib/StaticAnalyzer/Checkers/UninitializedPointee.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50509.159912.patch
Type: text/x-patch
Size: 4303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180809/f913adee/attachment.bin>


More information about the cfe-commits mailing list