Commit 9d29860
committed
Create implicit mappers when mapping arrays of structs when a member has a mapper.
This builds upon #101101, which used implicit compiler-generated
mappers when mapping an array-section of structs with members
that have user-defained default mappers.
Now we do the same when mapping arrays of structs.1 parent b6f9800 commit 9d29860
File tree
7 files changed
+388
-16
lines changed- clang
- docs
- lib/Sema
- test/OpenMP
- offload/test/mapping
7 files changed
+388
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1068 | 1071 | | |
1069 | 1072 | | |
1070 | 1073 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22060 | 22060 | | |
22061 | 22061 | | |
22062 | 22062 | | |
22063 | | - | |
22064 | | - | |
22065 | | - | |
22066 | | - | |
22067 | | - | |
22068 | | - | |
22069 | | - | |
22070 | | - | |
22071 | | - | |
22072 | | - | |
22073 | | - | |
| 22063 | + | |
| 22064 | + | |
| 22065 | + | |
| 22066 | + | |
| 22067 | + | |
| 22068 | + | |
| 22069 | + | |
| 22070 | + | |
| 22071 | + | |
| 22072 | + | |
| 22073 | + | |
| 22074 | + | |
| 22075 | + | |
| 22076 | + | |
| 22077 | + | |
| 22078 | + | |
| 22079 | + | |
| 22080 | + | |
| 22081 | + | |
| 22082 | + | |
| 22083 | + | |
| 22084 | + | |
| 22085 | + | |
| 22086 | + | |
22074 | 22087 | | |
22075 | 22088 | | |
22076 | | - | |
| 22089 | + | |
| 22090 | + | |
22077 | 22091 | | |
22078 | 22092 | | |
22079 | 22093 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments