[PATCH] D116189: [clang-format][NFC] Correct comment about checking merging of blocks
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 3 02:51:11 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG694e6bcd525f: [clang-format][NFC] Correct comment about checking merging of blocks (authored by yodaldevoid, committed by curdeius).
Changed prior to commit:
https://reviews.llvm.org/D116189?vs=396064&id=397028#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116189/new/
https://reviews.llvm.org/D116189
Files:
clang/lib/Format/UnwrappedLineFormatter.cpp
Index: clang/lib/Format/UnwrappedLineFormatter.cpp
===================================================================
--- clang/lib/Format/UnwrappedLineFormatter.cpp
+++ clang/lib/Format/UnwrappedLineFormatter.cpp
@@ -391,7 +391,7 @@
}
}
- // Try to merge a block with left brace wrapped that wasn't yet covered
+ // Try to merge a block with left brace unwrapped that wasn't yet covered
if (TheLine->Last->is(tok::l_brace)) {
const FormatToken *Tok = TheLine->First;
bool ShouldMerge = false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116189.397028.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220103/5eaddbaa/attachment.bin>
More information about the cfe-commits
mailing list