From 07616c5db0cd10568b7e4bf2ef59caeb4905e3f8 Mon Sep 17 00:00:00 2001 From: mydeveloperday Date: Wed, 29 Mar 2023 21:24:37 +0100 Subject: [PATCH] [clang-format] NFC ensure Style operator== remains sorted for ease of editing {D144170} didn't go via the normal clang-format reviewers and we'd have pointed out that this list of options remains sorted. Reviewed By: owenpan Differential Revision: https://reviews.llvm.org/D147176 --- clang/include/clang/Format/Format.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index a55cd76..412f861 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -4279,7 +4279,7 @@ struct FormatStyle { Language == R.Language && LambdaBodyIndentation == R.LambdaBodyIndentation && LineEnding == R.LineEnding && MacroBlockBegin == R.MacroBlockBegin && - MacroBlockEnd == R.MacroBlockEnd && + MacroBlockEnd == R.MacroBlockEnd && Macros == R.Macros && MaxEmptyLinesToKeep == R.MaxEmptyLinesToKeep && NamespaceIndentation == R.NamespaceIndentation && NamespaceMacros == R.NamespaceMacros && @@ -4346,8 +4346,7 @@ struct FormatStyle { StatementAttributeLikeMacros == R.StatementAttributeLikeMacros && StatementMacros == R.StatementMacros && TabWidth == R.TabWidth && TypenameMacros == R.TypenameMacros && UseTab == R.UseTab && - WhitespaceSensitiveMacros == R.WhitespaceSensitiveMacros && - Macros == R.Macros; + WhitespaceSensitiveMacros == R.WhitespaceSensitiveMacros; } std::optional GetLanguageStyle(LanguageKind Language) const; -- 2.7.4