Commit b5fd757
authored
[Clang][SYCL][NFC] Modify err_sycl_entry_point_invalid to use %enum_select. (#173122)
The `err_sycl_entry_point_invalid` diagnostic has a selection field for
which there are already many options with more expected to be added. Use
of `%enum_select` avoids the need for magic numbers with associated
comments at source locations where the diagnostic is issued.1 parent 51c085b commit b5fd757
File tree
3 files changed
+22
-16
lines changed- clang
- include/clang/Basic
- lib/Sema
3 files changed
+22
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13173 | 13173 | | |
13174 | 13174 | | |
13175 | 13175 | | |
13176 | | - | |
13177 | | - | |
13178 | | - | |
13179 | | - | |
13180 | | - | |
| 13176 | + | |
| 13177 | + | |
| 13178 | + | |
| 13179 | + | |
| 13180 | + | |
| 13181 | + | |
| 13182 | + | |
| 13183 | + | |
| 13184 | + | |
| 13185 | + | |
| 13186 | + | |
13181 | 13187 | | |
13182 | 13188 | | |
13183 | 13189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16468 | 16468 | | |
16469 | 16469 | | |
16470 | 16470 | | |
16471 | | - | |
| 16471 | + | |
16472 | 16472 | | |
16473 | 16473 | | |
16474 | 16474 | | |
16475 | | - | |
| 16475 | + | |
16476 | 16476 | | |
16477 | 16477 | | |
16478 | 16478 | | |
16479 | | - | |
| 16479 | + | |
16480 | 16480 | | |
16481 | 16481 | | |
16482 | 16482 | | |
16483 | | - | |
| 16483 | + | |
16484 | 16484 | | |
16485 | 16485 | | |
16486 | 16486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| |||
0 commit comments