[PATCH] D125137: [clang-format] Don't remove braces if a 1-statement body would wrap
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 10 12:56:40 PDT 2022
owenpan updated this revision to Diff 428468.
owenpan added a comment.
Added saving/restoring the children of `UnwrappedLineNode` and addressed review comments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125137/new/
https://reviews.llvm.org/D125137
Files:
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125137.428468.patch
Type: text/x-patch
Size: 4484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220510/26b7c4ed/attachment.bin>
More information about the cfe-commits
mailing list