(No testcase because I don't think we have any way to actually write a testcase for this; the chosen value of NumElements has no effects on anything other than performance and memory usage.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141106
91177308-0d34-0410-b5e6-
96231b3b80d8
RDecl->field_end());
}
- if (NumElements < NumInits)
- NumElements = IList->getNumInits();
-
Result->reserveInits(SemaRef.Context, NumElements);
// Link this new initializer list into the structured initializer