[PATCH] D116189: [clang-format][NFC] Correct comment about checking merging of blocks
Gabriel Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 22 14:26:11 PST 2021
yodaldevoid created this revision.
yodaldevoid added reviewers: HazardyKnusperkeks, MyDeveloperDay, curdeius, owenpan.
yodaldevoid requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
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)) {
bool ShouldMerge = false;
if (TheLine->First->isOneOf(tok::kw_class, tok::kw_struct)) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116189.395931.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211222/98b8c857/attachment.bin>
More information about the cfe-commits
mailing list