[PATCH] D79773: [clang-format] Improve clang-formats handling of concepts
Johel Ernesto Guerrero Peña via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 1 19:58:49 PDT 2020
JohelEGP added a comment.
Using parameter packs within non-parenthesized requires-clauses results in weird formatting:
template <std::semiregular F, std::semiregular... Args>
requires std::invocable < F, std::invoke_result_t<Args>
... > struct constant;
vs
template <std::semiregular F, std::semiregular... Args>
requires(std::invocable<F, std::invoke_result_t<Args>...>)
struct constant;
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79773/new/
https://reviews.llvm.org/D79773
More information about the cfe-commits
mailing list