Commit b454bc5
[clang][bytecode] Don't discard all void-typed expressions (llvm#105625)
For void-types InitListExprs, we need to diagnose them as invalid. But
only if we are _not_ discarding.1 parent cf4d78f commit b454bc5
File tree
2 files changed
+10
-14
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
2 files changed
+10
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1318 | 1318 | | |
1319 | 1319 | | |
1320 | 1320 | | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | 1321 | | |
1331 | 1322 | | |
1332 | 1323 | | |
| |||
1336 | 1327 | | |
1337 | 1328 | | |
1338 | 1329 | | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
1339 | 1337 | | |
1340 | 1338 | | |
1341 | 1339 | | |
| |||
3251 | 3249 | | |
3252 | 3250 | | |
3253 | 3251 | | |
3254 | | - | |
3255 | | - | |
3256 | | - | |
3257 | 3252 | | |
3258 | | - | |
3259 | | - | |
| 3253 | + | |
| 3254 | + | |
3260 | 3255 | | |
3261 | 3256 | | |
3262 | 3257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments