[clang-format][NFC] Correct comment about checking merging of blocks
authorGabriel Smith <ga29smith@gmail.com>
Mon, 3 Jan 2022 10:50:31 +0000 (11:50 +0100)
committerMarek Kurdej <marek.kurdej+llvm.org@gmail.com>
Mon, 3 Jan 2022 10:51:13 +0000 (11:51 +0100)
Reviewed By: HazardyKnusperkeks, MyDeveloperDay, owenpan

Differential Revision: https://reviews.llvm.org/D116189

clang/lib/Format/UnwrappedLineFormatter.cpp

index f652a4e..89f87f0 100644 (file)
@@ -391,7 +391,7 @@ private:
       }
     }
 
-    // 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;