Commit bda66af
committed
[Clang] Correctly propagate type aliases' unexpanded flags up to lambda
We should have been checking desugar() for the type of the right-hand side
of a typedef declaration, instead of using getCanonicalType(), which
points to the end of the type alias chain.1 parent 9190e1c commit bda66af
File tree
3 files changed
+8
-2
lines changed- clang
- docs
- lib/Sema
- test/SemaCXX
3 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
| 813 | + | |
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8496 | 8496 | | |
8497 | 8497 | | |
8498 | 8498 | | |
8499 | | - | |
| 8499 | + | |
8500 | 8500 | | |
8501 | 8501 | | |
8502 | 8502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
0 commit comments