D70524 added support for auto return types for C++ member functions. I was implementing support on the LLDB side for looking up the deduced type.
I ran into trouble with some cases with respect to lambdas. I looked into how gcc was handling these cases and it appears gcc emits the deduced return type for lambdas.
So I am changing out behavior to match that.
Can you add a comment here, explaining why lambdas are special?