Commit 55d50a0
committed
[clang][OpenMP] Treat "workshare" as unknown OpenMP directive
The "workshare" construct is only present in Fortran. The common OpenMP
code does treat it as any other directive, but in clang we need to reject
it, and do so gracefully before it encounters an internal assertion.
Fixes #1394241 parent 195fe59 commit 55d50a0
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2738 | 2738 | | |
2739 | 2739 | | |
2740 | 2740 | | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
2741 | 2746 | | |
2742 | 2747 | | |
2743 | 2748 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments