commit | 87f55cf59e82f246d8605733e9300d0c5f6830a6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Jan 22 23:26:18 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Jan 22 23:26:18 2009 +0000 |
tree | dcc0cbc4b9971b97349c24e393a3bb94dbd23dac | |
parent | 5f02d554555af7254bbe33529d4e574eeeac035c [diff] |
Reimplement the handling of the "current object" in designator initializers, so that we are within the appropriate subobject after we've processed a multi-designator designation. We're matching GCC and EDG's behavior on all examples I've found thus far. *Huge* thanks to Eli Friedman for pointing out my fundamental misunderstanding of "current object" in the C99 spec. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62812 91177308-0d34-0410-b5e6-96231b3b80d8