[PATCH] D117520: [clang-format] Fix SeparateDefinitionBlocks issues
ksyx via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 19 09:52:51 PST 2022
ksyx updated this revision to Diff 401293.
ksyx edited the summary of this revision.
ksyx added a comment.
Recognize long (len>=5) uppercased name taking a single line as return type
and fix the problem of adding newline below it:
void
afunc(int x) {
return;
}
TYPENAME
func(int x, int y) {
// ...
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117520/new/
https://reviews.llvm.org/D117520
Files:
clang/lib/Format/DefinitionBlockSeparator.cpp
clang/lib/Format/DefinitionBlockSeparator.h
clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117520.401293.patch
Type: text/x-patch
Size: 16135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220119/9187a05d/attachment-0001.bin>
More information about the cfe-commits
mailing list