diff options
| author | Warren Hunt <whunt@google.com> | 2013-11-01 23:59:41 +0000 |
|---|---|---|
| committer | Warren Hunt <whunt@google.com> | 2013-11-01 23:59:41 +0000 |
| commit | caf759752b086ef30b6c564654b382d17fb0c16f (patch) | |
| tree | e1a7dffe8fa54fb0447aabbbaa35b06f29c910b2 /lib/CodeGen/CGExpr.cpp | |
| parent | 2d023ecb2b9204a3dbc3b88ad9564b0a5bc211f6 (diff) | |
| download | clang-caf759752b086ef30b6c564654b382d17fb0c16f.tar.gz clang-caf759752b086ef30b6c564654b382d17fb0c16f.tar.bz2 clang-caf759752b086ef30b6c564654b382d17fb0c16f.tar.xz | |
Improves compatibility with cl.exe when laying out array fields
Differential Revision: http://llvm-reviews.chandlerc.com/D2090
Clang was "improperly" over-aligning arrays with sizes are not a multiple of
their alignment.
This behavior was removed in microsoft 32 bit mode.
In addition, after examination of ASTContext::getTypeInfoImpl, a redundant code block in
MicrosoftRecordLayoutBuilder::getAdjustedFieldInfo was deleted.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
