Commit 66c18fa
committed
[flang][OpenMP] Make OmpDirectiveNameModifier a distrinct type
It was an alias for OmpDirectiveName, which could cause confusion in
parse-tree visitors: a visitor for OmpDirectiveNameModifier could be
executed for an OmpDirectiveName node, leading to unexpected results.1 parent 9e7782d commit 66c18fa
File tree
2 files changed
+15
-2
lines changed- flang
- include/flang/Parser
- lib/Parser
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3469 | 3469 | | |
3470 | 3470 | | |
3471 | 3471 | | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
3472 | 3478 | | |
3473 | 3479 | | |
3474 | 3480 | | |
3475 | 3481 | | |
3476 | 3482 | | |
3477 | 3483 | | |
3478 | 3484 | | |
| 3485 | + | |
3479 | 3486 | | |
3480 | 3487 | | |
3481 | 3488 | | |
| |||
3848 | 3855 | | |
3849 | 3856 | | |
3850 | 3857 | | |
3851 | | - | |
| 3858 | + | |
| 3859 | + | |
| 3860 | + | |
| 3861 | + | |
3852 | 3862 | | |
3853 | 3863 | | |
3854 | 3864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| |||
609 | 611 | | |
610 | 612 | | |
611 | 613 | | |
612 | | - | |
| 614 | + | |
| 615 | + | |
613 | 616 | | |
614 | 617 | | |
615 | 618 | | |
| |||
0 commit comments