Commit 2a4966f
committed
[clang][OpenMP] Improve handling of non-C/C++ directives
The PR139793 added handling of the Fortran-only "workshare" directive,
however there are more such directives, e.g. "allocators". Use the
genDirectiveLanguages function to detect non-C/C++ directives instead
of enumerating them.1 parent 44fdb32 commit 2a4966f
File tree
3 files changed
+14
-11
lines changed- clang
- lib/Parse
- test/OpenMP
3 files changed
+14
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2613 | 2613 | | |
2614 | 2614 | | |
2615 | 2615 | | |
2616 | | - | |
2617 | | - | |
2618 | | - | |
| 2616 | + | |
| 2617 | + | |
2619 | 2618 | | |
2620 | 2619 | | |
2621 | 2620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
This file was deleted.
0 commit comments