Cleanup InitListExpr code generation code.
Handle padding fields while initializing struct (fix PR 1962)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46736 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index 9199839..fc79f0a 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -140,3 +140,4 @@
 /* struct initialization */
 struct a13 {int b; int c};
 struct a13 c13 = {5};
+struct a14 { short a; int b; } x = {1, 1};