]> granicus.if.org Git - clang/commit
[ms-abi] Refactoring Non-virtual base layout in record layout
authorWarren Hunt <whunt@google.com>
Thu, 12 Dec 2013 22:33:37 +0000 (22:33 +0000)
committerWarren Hunt <whunt@google.com>
Thu, 12 Dec 2013 22:33:37 +0000 (22:33 +0000)
commit4248ceef32e469eaa046394dd7d8c371f2a2380d
treea448df6b918b3485d10999cf693d8d1c8657c844
parent28d70e0cc4cd64a53f5a587cc79d70cbe571cfab
[ms-abi] Refactoring Non-virtual base layout in record layout

This refactor addresses bugzilla bug 18167 and simplifies the code at
the same time.  Also I add a test case for the bug.  Also I make a
non-functional change to the basic layout lit tests to make them more
reliable (using CHECK-NEXT instead of CHECK).

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