[Sema] Don't create an invalid source range for overlong initializer lists.
We took both source locations from the end of the initializer list what the code below doesn't expect. This can lead to a crash when rendering the diagnostic (PR24816). Assert that we have more than one element in a scalar initializer with too many elements. llvm-svn: 248391
Loading
Please sign in to comment