Commit 2bbc9bc
committed
[OpenCL] Support template parameters for as_type
Implement the TreeTransform for AsTypeExpr. Split `BuildAsTypeExpr`
out of `ActOnAsTypeExpr`, such that we can call the Build method from
the TreeTransform.
Fixes PR47979.
Differential Revision: https://reviews.llvm.org/D988551 parent f71404c commit 2bbc9bc
File tree
4 files changed
+49
-10
lines changed- clang
- include/clang/Sema
- lib/Sema
- test/SemaOpenCLCXX
4 files changed
+49
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5581 | 5581 | | |
5582 | 5582 | | |
5583 | 5583 | | |
| 5584 | + | |
| 5585 | + | |
| 5586 | + | |
5584 | 5587 | | |
5585 | 5588 | | |
5586 | 5589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6497 | 6497 | | |
6498 | 6498 | | |
6499 | 6499 | | |
6500 | | - | |
| 6500 | + | |
6501 | 6501 | | |
6502 | 6502 | | |
6503 | 6503 | | |
6504 | 6504 | | |
6505 | 6505 | | |
6506 | 6506 | | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
6507 | 6515 | | |
6508 | 6516 | | |
6509 | | - | |
6510 | 6517 | | |
6511 | | - | |
6512 | | - | |
6513 | | - | |
6514 | | - | |
6515 | | - | |
6516 | | - | |
6517 | | - | |
| 6518 | + | |
| 6519 | + | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
| 6523 | + | |
6518 | 6524 | | |
6519 | 6525 | | |
6520 | 6526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13971 | 13971 | | |
13972 | 13972 | | |
13973 | 13973 | | |
13974 | | - | |
| 13974 | + | |
| 13975 | + | |
| 13976 | + | |
| 13977 | + | |
| 13978 | + | |
| 13979 | + | |
| 13980 | + | |
| 13981 | + | |
13975 | 13982 | | |
13976 | 13983 | | |
13977 | 13984 | | |
| |||
| 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 | + | |
0 commit comments