Commit 480ad3d
authored
[clang][OpenMP] 6.0: Add defaultmap implicit-behavior 'private' (#158712)
Per OpenMP 6.0 specification, section 7.9.9
Argument keywords, page 291, L17
Semantics, page 292, L15-16
The behavior of 'private' should be described in the same manner as that
of 'firstprivate'
15 ... If implicit-behavior is firstprivate, 16 the attribute is a
data-sharing attribute of firstprivate.
Relevant OpenMP 6.0 issues
defaultmap clause new implicit-behavior 'private' should be documented
OpenMP/spec#4571
Issue 4571: Add missing sentence about private to defaultmap
OpenMP/spec#4577
Testing:
Updated 'defaultmap' error message and codegen LIT tests to verify
behavior of 'private' in OpenMP 6.0.1 parent 2d87827 commit 480ad3d
File tree
7 files changed
+785
-11
lines changed- clang
- docs
- include/clang/Basic
- lib
- Basic
- Sema
- test/OpenMP
7 files changed
+785
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
| 589 | + | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3770 | 3770 | | |
3771 | 3771 | | |
3772 | 3772 | | |
| 3773 | + | |
3773 | 3774 | | |
3774 | 3775 | | |
3775 | 3776 | | |
| |||
4006 | 4007 | | |
4007 | 4008 | | |
4008 | 4009 | | |
4009 | | - | |
4010 | | - | |
4011 | | - | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
4012 | 4017 | | |
4013 | 4018 | | |
4014 | 4019 | | |
| |||
23120 | 23125 | | |
23121 | 23126 | | |
23122 | 23127 | | |
23123 | | - | |
| 23128 | + | |
23124 | 23129 | | |
23125 | 23130 | | |
23126 | 23131 | | |
| |||
0 commit comments