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.
Differential D78694
[clang-format] Fix lambda with ellipsis in return type johnchen902 on Apr 22 2020, 9:47 PM. Authored by
Details 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.
Diff Detail
Event TimelineComment Actions Could you please update the patch with full context: https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface |