aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/InterpBuiltin.cpp
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2025-08-18 02:07:27 -0700
committerGitHub <noreply@github.com>2025-08-18 02:07:27 -0700
commitbcab8ac126c0b4c439caa3104d66d33d0f70f86f (patch)
treee9d18aa44f8e0d49e66460dc8dfd1c065f6b0092 /clang/lib/AST/ByteCode/InterpBuiltin.cpp
parent16aa283344d3fec9467e6adb7ea511c0a88afacc (diff)
downloadllvm-bcab8ac126c0b4c439caa3104d66d33d0f70f86f.zip
llvm-bcab8ac126c0b4c439caa3104d66d33d0f70f86f.tar.gz
llvm-bcab8ac126c0b4c439caa3104d66d33d0f70f86f.tar.bz2
[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>
Diffstat (limited to 'clang/lib/AST/ByteCode/InterpBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions