]> granicus.if.org Git - clang/commit
[MS-ABI] Update to alias-avoidance padding
authorWarren Hunt <whunt@google.com>
Wed, 9 Apr 2014 21:57:24 +0000 (21:57 +0000)
committerWarren Hunt <whunt@google.com>
Wed, 9 Apr 2014 21:57:24 +0000 (21:57 +0000)
commit9c600bbda00d96de188d08ac866e37f366534760
treed030b24acd0790ccbcb72207af1f816f5b974eb3
parent605eea822cddb7484642faec5f6807948c536ce8
[MS-ABI] Update to alias-avoidance padding
This patch changes how we determine if padding is needed between two
bases in msvc compatibility mode.  Test cases included.

In addition, a very minor change to the printing of structures to ease
lit testing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-alias-avoidance-padding.cpp