diff options
| author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-01-24 19:28:24 +0000 |
|---|---|---|
| committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-01-24 19:28:24 +0000 |
| commit | 9c23bab9b02f3bc699d12d51cc8dc3c22d2548bf (patch) | |
| tree | 5af27e986348e8c5f007ae2a4e467c9bbd03e27f /lib/CodeGen/CGExpr.cpp | |
| parent | eb0acd8bc22858c7b58fcf3bcb69a4a35acb0a9c (diff) | |
| download | clang-9c23bab9b02f3bc699d12d51cc8dc3c22d2548bf.tar.gz clang-9c23bab9b02f3bc699d12d51cc8dc3c22d2548bf.tar.bz2 clang-9c23bab9b02f3bc699d12d51cc8dc3c22d2548bf.tar.xz | |
Fixing PR18510 by checking whether the non-virtual base of the derived class
might have a smaller size as compared to the stand-alone type of the base class.
This is possible when the derived class is packed and hence might have smaller
alignment requirement than the base class.
Differential Revision: http://llvm-reviews.chandlerc.com/D2599
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
