Commit 80ccf01
authored
[Clang] Do not try to transform invalid bindings (#125658)
In the presence of an invalid structured binding decomposition, some
binding packs may be invalid and trying to transform them would produce
a recovery expression that does not contains a pack, leading to
assertions in places where we would expect a pack at that stage.
Fixes #1251651 parent 826af17 commit 80ccf01
File tree
2 files changed
+16
-1
lines changed- clang
- lib/Sema
- test/SemaCXX
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12716 | 12716 | | |
12717 | 12717 | | |
12718 | 12718 | | |
12719 | | - | |
| 12719 | + | |
12720 | 12720 | | |
12721 | 12721 | | |
12722 | 12722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
0 commit comments