Commit 7f90479
authored
[flang][OpenMP] Don't abort when default is used on an invalid directive (llvm#107586)
The previous assert was not considering programs with semantic errors.
Fixes llvm#107495
Fixes llvm#934371 parent 95831f0 commit 7f90479
File tree
2 files changed
+12
-1
lines changed- flang
- lib/Semantics
- test/Semantics/OpenMP
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2152 | 2152 | | |
2153 | 2153 | | |
2154 | 2154 | | |
2155 | | - | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
2156 | 2158 | | |
2157 | 2159 | | |
2158 | 2160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
0 commit comments