From 0ca6dd96d66db43fa7edd6f8b261808801750554 Mon Sep 17 00:00:00 2001 From: mydeveloperday Date: Wed, 29 Mar 2023 20:01:03 +0100 Subject: [PATCH] [clang-format] NFC ensure clang-format is itself clang-formatted Some patch in the past introduce this non clang-formatted change --- clang/lib/Format/UnwrappedLineFormatter.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/clang/lib/Format/UnwrappedLineFormatter.cpp b/clang/lib/Format/UnwrappedLineFormatter.cpp index c789f29..97500df 100644 --- a/clang/lib/Format/UnwrappedLineFormatter.cpp +++ b/clang/lib/Format/UnwrappedLineFormatter.cpp @@ -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 || -- 2.7.4