llvm-project
bcab8ac1 - [clang] return type not correctly deduced for discarded lambdas (#153921)

Commit
257 days ago
[clang] return type not correctly deduced for discarded lambdas (#153921) The early return for lamda expressions with deduced return types in Sema::ActOnCapScopeReturnStmt meant that we were not actually perform the required return type deduction for such lambdas when in a discarded context. This PR removes that early return allowing the existing return type deduction steps to be performed. Fixes #153884 Fix developed by, and Co-authored-by: Corentin Jabot <corentinjabot@gmail.com>
Author
Parents
Loading