diff options
author | Younan Zhang <zyn7109@gmail.com> | 2025-08-19 21:59:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-19 21:59:23 +0800 |
commit | 2b32ad1316059ac5fbb739684b92facef979dea1 (patch) | |
tree | 55d5cd6b792c1aa2cbd1c8489d82b57b1272fe70 /clang/lib/Sema/SemaModule.cpp | |
parent | f55dc0824ebcf546b1d34a5102021c15101e4d3b (diff) | |
download | llvm-2b32ad1316059ac5fbb739684b92facef979dea1.zip llvm-2b32ad1316059ac5fbb739684b92facef979dea1.tar.gz llvm-2b32ad1316059ac5fbb739684b92facef979dea1.tar.bz2 |
[Clang] Only remove lambda scope after computing evaluation context (#154106)
The immediate evaluation context needs the lambda scope info to
propagate some flags, however that LSI was removed in
ActOnFinishFunctionBody which happened before rebuilding a lambda
expression.
This also converts the wrapper function to default arguments as a
drive-by fix.
Fixes https://github.com/llvm/llvm-project/issues/145776
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions