We did not return an error when failing to producing
a valid expression when performing the initialization of
an aggregate initialized with a parenthesized list of expressions.
This is a regression introduced in Clang 17.
Fixes #63278
Paths
| Differential D154486
[Clang] Fix a crash when trying to initialize an invalid aggregate. ClosedPublic Authored by cor3ntin on Jul 5 2023, 2:34 AM.
Details
Summary We did not return an error when failing to producing This is a regression introduced in Clang 17. Fixes #63278
Diff Detail
Event TimelineComment Actions Precommit CI found issues with the newly added test that should be addressed.
This revision is now accepted and ready to land.Jul 5 2023, 6:34 AM This revision was landed with ongoing or failed builds.Jul 5 2023, 6:45 AM Closed by commit rG1bc7f3fb9367: [Clang] Fix a crash when trying to initialize an invalid aggregate. (authored by cor3ntin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537269 clang/docs/ReleaseNotes.rst
clang/lib/Sema/SemaInit.cpp
clang/test/SemaCXX/paren-list-agg-init.cpp
|
This is a new regression introduced in Clang 17, so I don't think we need a release note, right?