Commit 2bc46ae
authored
[clang] Format "array is too large" diagnostics with separators (#160260)
We only display this diagnostic with large numbers, so add the
separators.
Not sure if `295'147'905'179'352'825'841` is much better than
`295147905179352825841` but I think it would be nice to have separators
in more diagnostics.1 parent 32ff987 commit 2bc46ae
File tree
5 files changed
+15
-7
lines changed- clang
- lib/Sema
- test/C
- C23
- drs
5 files changed
+15
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6794 | 6794 | | |
6795 | 6795 | | |
6796 | 6796 | | |
6797 | | - | |
| 6797 | + | |
| 6798 | + | |
| 6799 | + | |
6798 | 6800 | | |
6799 | 6801 | | |
6800 | 6802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
2398 | | - | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
2399 | 2402 | | |
2400 | 2403 | | |
2401 | 2404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2270 | 2270 | | |
2271 | 2271 | | |
2272 | 2272 | | |
2273 | | - | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
2274 | 2277 | | |
2275 | 2278 | | |
2276 | 2279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
0 commit comments