diff options
author | John McCall <rjmccall@apple.com> | 2011-02-15 06:40:56 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-02-15 06:40:56 +0000 |
commit | 9b7da1c46d6d2849f9cb51328d7fcddf2c417672 (patch) | |
tree | 586f035ba023d43ad7c063ca7c2ac642e9bef469 /lib/CodeGen/CodeGenFunction.cpp | |
parent | fe59b7472c06b36efb74fbb50bbdf464fa30c0d8 (diff) |
Perform zero-initialization of virtual base classes when emitting
a zero constant for a complete class. rdar://problem/8424975
To make this happen, track the field indexes for virtual bases
in the complete object. I'm curious whether we might be better
off making CGRecordLayoutBuilder *much* more reliant on
ASTRecordLayout; we're currently duplicating an awful lot of the ABI
layout logic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions