llvm-project
2b32ad13 - [Clang] Only remove lambda scope after computing evaluation context (#154106)

Commit
256 days ago
[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
Author
Parents
Loading