BTW my actual code that hit this issue is like
[a, b = std::move(b)](auto &&... c) mutable -> std::invoke_result_t<decltype(b), decltype(c)...> { /* omitted */ }
where this explicit return type is required for SFINAE.
Could you please update the patch with full context: https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface This helps out when reviewing.
Rebased to HEAD.
Thank you!
I think this is OK as-is.
Me too LGTM
Well... I don't know how to land this. I guess I don't have commit access anyway.