[PATCH] D127260: [clang-format] Remove braces of else blocks that embody an if block
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 08:48:27 PDT 2022
owenpan updated this revision to Diff 435181.
owenpan added a comment.
Update `IfLeftBrace` in `parseLevel()` only if the level is a simple block.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127260/new/
https://reviews.llvm.org/D127260
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: D127260.435181.patch
Type: text/x-patch
Size: 12990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220608/07f580ca/attachment.bin>
More information about the cfe-commits
mailing list