Commit b249b49
authored
[OpenMP] Fix crash when diagnosing dist_schedule (llvm#139277)
We were failing to pass a required argument when emitting the
diagnostic, so the source range was being used in place of an index.
This caused a failed assertion due to the incorrect index.
Fixes llvm#1392661 parent 6b7e65a commit b249b49
File tree
3 files changed
+12
-1
lines changed- clang
- docs
- lib/Sema
- test/OpenMP
3 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
| 906 | + | |
| 907 | + | |
906 | 908 | | |
907 | 909 | | |
908 | 910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22789 | 22789 | | |
22790 | 22790 | | |
22791 | 22791 | | |
22792 | | - | |
| 22792 | + | |
| 22793 | + | |
22793 | 22794 | | |
22794 | 22795 | | |
22795 | 22796 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
0 commit comments