]> granicus.if.org Git - clang/commit
[MS-ABI] Update to zero-sized padding algorithm
authorWarren Hunt <whunt@google.com>
Fri, 21 Feb 2014 01:40:35 +0000 (01:40 +0000)
committerWarren Hunt <whunt@google.com>
Fri, 21 Feb 2014 01:40:35 +0000 (01:40 +0000)
commite62fd7d3d76c9075bf2d5b8d8bf961e7ae52dc8f
treed3dcff128702fb90c3e286bed2d8981cd80831ed
parentf234364a86161ed5c9d91dab2ef7e39a81ea669e
[MS-ABI] Update to zero-sized padding algorithm
Slight change to the way zero-sized sub-objects are tracked in the
presence of virtual bases.
In addition we correctly distinguish between dsize and nvsize.
addresses http://llvm.org/bugs/show_bug.cgi?id=18826
Unit tests are included.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201832 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-empty-virtual-base.cpp