Commit 26fee0f
authored
[OpenACC] Implement Sema work for OpenACC Clauses (#87821)
Now that we have AST nodes for OpenACC Clauses, this patch adds their
creation to Sema and makes the Parser call all the required functions.
This also redoes TreeTransform to work with the clauses/make sure they
are transformed.
Much of this is NFC, since there is no clause we can test this behavior
with. However, there IS one noticable change; we are now no longer
diagnosing that a clause is 'not implemented' unless it there was no
errors parsing its parameters. This is because it cleans up how we
create and diagnose clauses.1 parent b439140 commit 26fee0f
File tree
9 files changed
+490
-500
lines changed- clang
- include/clang
- Basic
- Parse
- Sema
- lib
- Parse
- Sema
- test/ParserOpenACC
9 files changed
+490
-500
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12252 | 12252 | | |
12253 | 12253 | | |
12254 | 12254 | | |
| 12255 | + | |
| 12256 | + | |
12255 | 12257 | | |
12256 | 12258 | | |
12257 | 12259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
3594 | 3595 | | |
3595 | 3596 | | |
3596 | 3597 | | |
3597 | | - | |
| 3598 | + | |
3598 | 3599 | | |
3599 | 3600 | | |
3600 | 3601 | | |
3601 | 3602 | | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
3602 | 3618 | | |
3603 | 3619 | | |
3604 | 3620 | | |
| |||
3613 | 3629 | | |
3614 | 3630 | | |
3615 | 3631 | | |
3616 | | - | |
3617 | | - | |
3618 | | - | |
3619 | | - | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
3620 | 3641 | | |
3621 | | - | |
| 3642 | + | |
| 3643 | + | |
3622 | 3644 | | |
3623 | 3645 | | |
3624 | 3646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
27 | 59 | | |
28 | 60 | | |
29 | 61 | | |
30 | | - | |
| 62 | + | |
| 63 | + | |
31 | 64 | | |
32 | 65 | | |
33 | 66 | | |
| |||
53 | 86 | | |
54 | 87 | | |
55 | 88 | | |
56 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
57 | 93 | | |
58 | 94 | | |
59 | 95 | | |
| |||
0 commit comments