[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
Thu Dec 23 11:38:26 PST 2021


yodaldevoid updated this revision to Diff 396064.
yodaldevoid added a comment.

Correct commit email


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)) {
       bool ShouldMerge = false;
       if (TheLine->First->isOneOf(tok::kw_class, tok::kw_struct)) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116189.396064.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211223/57880bdf/attachment.bin>


More information about the cfe-commits mailing list