diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 19:58:50 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 19:58:50 +0000 |
commit | a04a1538ee5e286e94e3374caf51ba1094d289b0 (patch) | |
tree | b3911cdcf2b2f0562155c2728df1d4ddb7db578e /lib/CodeGen/CodeGenModule.h | |
parent | 77ba708819285931932ecd33691a672bb59d221a (diff) |
Fix and enable generating general union initializers. Essentially, what
this does is reconstruct the type for structs and arrays if the type
wouldn't be compatible otherwise.
The assertion about packing in the struct type reconstruction code
sucks, but I don't see any obvious way to fix it. Maybe we need a general
utility method to take a list of types and alignments and try to construct an
unpacked type if possible?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions