Commit 02b6849
authored
[Clang][OpenMP] Fix mapping of arrays of structs with members with mappers (#142511)
This builds upon #101101 from @jyu2-git, which used compiler-generated
mappers when mapping an array-section of structs with members that have
user-defined default mappers.
Now we do the same when mapping arrays of structs.1 parent 0c62571 commit 02b6849
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 | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1105 | 1108 | | |
1106 | 1109 | | |
1107 | 1110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22057 | 22057 | | |
22058 | 22058 | | |
22059 | 22059 | | |
22060 | | - | |
22061 | | - | |
22062 | | - | |
22063 | | - | |
22064 | | - | |
22065 | | - | |
22066 | | - | |
22067 | | - | |
22068 | | - | |
22069 | | - | |
22070 | | - | |
| 22060 | + | |
| 22061 | + | |
| 22062 | + | |
| 22063 | + | |
| 22064 | + | |
| 22065 | + | |
| 22066 | + | |
| 22067 | + | |
| 22068 | + | |
| 22069 | + | |
| 22070 | + | |
| 22071 | + | |
| 22072 | + | |
| 22073 | + | |
| 22074 | + | |
| 22075 | + | |
| 22076 | + | |
| 22077 | + | |
| 22078 | + | |
| 22079 | + | |
| 22080 | + | |
| 22081 | + | |
| 22082 | + | |
| 22083 | + | |
22071 | 22084 | | |
22072 | 22085 | | |
22073 | | - | |
| 22086 | + | |
| 22087 | + | |
22074 | 22088 | | |
22075 | 22089 | | |
22076 | 22090 | | |
| |||
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