You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Clang] Fix crash when emitting diagnostic for out of order designated initializers in C++
In C++ we are not allowed to use designated initializers to initialize fields
out of order. In some cases when diagnosing this we are crashing because we are
not indexing correctly and therefore going out of bounds.
This fixes: llvm#63605
Differential Revision: https://reviews.llvm.org/D154675
(cherry picked from commit c9ef33e)
Conflicts:
clang/docs/ReleaseNotes.rst
clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp
0 commit comments