Fix a bug with designated initializers where we were stepping out of a
union subobject initialization before checking whether the next
initiailizer was actually a designated initializer. This led to
spurious "excess elements in union initializer" errors. Thanks to
rdivacky for reporting the bug!

llvm-svn: 64392
2 files changed
tree: 60daa80a0791a8b3ccee9f1fe3e16cc82c40db3a
  1. clang/
  2. llvm/