[PATCH] D53206: Allow padding checker to traverse simple class hierarchies
Max Bernstein via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 12 09:58:55 PDT 2018
tekknolagi created this revision.
tekknolagi added reviewers: bcraig, NoQ.
tekknolagi added a project: clang.
The existing padding checker skips classes that have any base classes. This patch allows the checker to traverse very simple cases: classes that have no fields and have one base class.
Repository:
rC Clang
https://reviews.llvm.org/D53206
Files:
lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
test/Analysis/padding_cpp.cpp
test/Analysis/padding_inherit.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53206.169445.patch
Type: text/x-patch
Size: 4392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181012/d145f91d/attachment.bin>
More information about the cfe-commits
mailing list