summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2018-10-30 01:20:37 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2018-10-30 01:20:37 +0000
commit09b3136b5b683b6de8dfd465c0c8d3859f1a2689 (patch)
tree47f10debf55b3af4d409bdfcff9d3dbd2bf630dd /lib/CodeGen/CGExprAgg.cpp
parent9c00cb380abfef70fad586e8e8bbfb784b6f912c (diff)
downloadclang-09b3136b5b683b6de8dfd465c0c8d3859f1a2689.tar.gz
[analyzer] Allow padding checker to traverse simple class hierarchies
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 exactly one base class. This is important mostly in the case of array declarations. Patch by Max Bernstein! Test plan: make check-all Differential revision: https://reviews.llvm.org/D53206 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions