[clang-format] NFC ensure clang-format is itself clang-formatted
authormydeveloperday <mydeveloperday@gmail.com>
Wed, 29 Mar 2023 19:01:03 +0000 (20:01 +0100)
committermydeveloperday <mydeveloperday@gmail.com>
Wed, 29 Mar 2023 19:01:03 +0000 (20:01 +0100)
Some patch in the past introduce this non clang-formatted change

clang/lib/Format/UnwrappedLineFormatter.cpp

index c789f29..97500df 100644 (file)
@@ -511,9 +511,10 @@ private:
         ShouldMerge = !Style.BraceWrapping.AfterClass ||
                       (NextLine.First->is(tok::r_brace) &&
                        !Style.BraceWrapping.SplitEmptyRecord);
-      } if(TheLine->InPPDirective ||
-               !TheLine->First->isOneOf(tok::kw_class, tok::kw_enum,
-                                        tok::kw_struct)) {
+      }
+      if (TheLine->InPPDirective ||
+          !TheLine->First->isOneOf(tok::kw_class, tok::kw_enum,
+                                   tok::kw_struct)) {
         // Try to merge a block with left brace unwrapped that wasn't yet
         // covered.
         ShouldMerge = !Style.BraceWrapping.AfterFunction ||