Commit ef20644
[clang] Warn const integer-overflow of member in temporary struct bound to rvalue reference (#117225)
Fixes #46755
---------
Co-authored-by: Sirraide <[email protected]>1 parent 1d46020 commit ef20644
File tree
3 files changed
+11
-1
lines changed- clang
- docs
- lib/Sema
- test/SemaCXX
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
583 | 586 | | |
584 | 587 | | |
585 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12048 | 12048 | | |
12049 | 12049 | | |
12050 | 12050 | | |
12051 | | - | |
| 12051 | + | |
| 12052 | + | |
12052 | 12053 | | |
12053 | 12054 | | |
12054 | 12055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
249 | 255 | | |
0 commit comments