[PATCH] D129057: [clang-format] Break on AfterColon only if not followed by comment
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 3 22:20:32 PDT 2022
curdeius added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:7136
Style);
+ verifyFormat("Constructor() : // NOLINT\n"
+ " aaaa(aaaa) {}",
----------------
How about very long comments? They don't get split now? Please add a test case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129057/new/
https://reviews.llvm.org/D129057
More information about the cfe-commits
mailing list