]> granicus.if.org Git - clang/commit
[MS-ABI] Fix to vbptr injection site calculation.
authorWarren Hunt <whunt@google.com>
Thu, 10 Apr 2014 23:23:34 +0000 (23:23 +0000)
committerWarren Hunt <whunt@google.com>
Thu, 10 Apr 2014 23:23:34 +0000 (23:23 +0000)
commit8343ca22cc915c4a5135aeccc0a7123acf47fdc2
treeeacf8b22815915da21f76aeffa0cb7d09ae3e7ee
parent9a7c2b4dfae18c6826c6e8caed450f39efdf3ab3
[MS-ABI] Fix to vbptr injection site calculation.
The vbptr is injected after the last non-virtual base lexographically
rather than the last non-virtual base in layout order.  Test case
included.  Also, some line ending fixes.

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