[PATCH] D50504: [analyzer][UninitializedObjectChecker] Refactoring p2.: Moving pointer chasing to a separate file

Umann Kristóf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 9 04:16:08 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, mgorny.

In this patch, the following classes and functions have been moved to a header file:

- `FieldChainInfo`
- `FindUninitializedFields`
- `isPrimitiveType`

This also meant that they moved from anonymous namespace to `clang::ento`.

Code related to pointer chasing now relies in its own file.

There's absolutely no functional change in this patch -- its literally just copy pasting,


Repository:
  rC Clang

https://reviews.llvm.org/D50504

Files:
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/UninitializedObject.h
  lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp
  lib/StaticAnalyzer/Checkers/UninitializedPointee.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50504.159890.patch
Type: text/x-patch
Size: 25381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180809/c7a5d3d4/attachment-0001.bin>


More information about the cfe-commits mailing list