commit | 3cd09ccbb1a750a7b40593a7b0a2d95ee2a0ba0e | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Sat May 29 19:44:50 2010 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Sat May 29 19:44:50 2010 +0000 |
tree | c57e2a263465031160f4ae461cfeec5cb19a274a | |
parent | 276b491b44b473d91610432aa335927b2c7ad152 [diff] |
Rework the way virtual primary bases are added when laying out classes. Instead of doing it as a separate step, we now use the BaseSubobjectInfo and use it when laying out the bases. This fixes a bug where we would either not add a primary virtual base at all, or add it at the wrong offset. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105110 91177308-0d34-0410-b5e6-96231b3b80d8