Commit 2579b41
authored
[clang-cl] [AST] Fix MS 1920+ placeholder return type mangling for lambdas (#105999)
Fixes #104722.
Missed handling `decltype(auto)` trailing return types for lambdas.
This was a mistake and regression on my part with my PR,
#104722.
Added some missing unit tests to test for the various placeholder
trailing return types in lambdas.1 parent dff3c96 commit 2579b41
File tree
2 files changed
+17
-4
lines changed- clang
- lib/AST
- test/CodeGenCXX
2 files changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2967 | 2967 | | |
2968 | 2968 | | |
2969 | 2969 | | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
| 2970 | + | |
| 2971 | + | |
2973 | 2972 | | |
2974 | 2973 | | |
2975 | 2974 | | |
2976 | | - | |
| 2975 | + | |
2977 | 2976 | | |
2978 | 2977 | | |
2979 | 2978 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
| |||
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
229 | 243 | | |
230 | 244 | | |
231 | 245 | | |
| |||
0 commit comments