Commit 9053565
[OpenACC] Make sure 'link' gets the right node in the AST with ASE
Another miss when working through 'link', we didn't properly handle
giving the whole array-section expression or array index expression,
instead allowed it to only get the decl-ref-expr. This patch makes
sure we don't add the wrong thing.
Signed-off-by: Hafidz Muzakky <[email protected]>1 parent e972bc2 commit 9053565
File tree
2 files changed
+9
-1
lines changed- clang
- lib/Sema
- test/SemaOpenACC
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2249 | 2249 | | |
2250 | 2250 | | |
2251 | 2251 | | |
| 2252 | + | |
| 2253 | + | |
2252 | 2254 | | |
2253 | 2255 | | |
2254 | 2256 | | |
| |||
2263 | 2265 | | |
2264 | 2266 | | |
2265 | 2267 | | |
2266 | | - | |
| 2268 | + | |
2267 | 2269 | | |
2268 | 2270 | | |
2269 | 2271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
0 commit comments