[PATCH] D147176: [clang-format] NFC ensure Style operator== remains sorted for ease of editing
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 29 12:14:14 PDT 2023
MyDeveloperDay created this revision.
MyDeveloperDay added reviewers: HazardyKnusperkeks, owenpan.
MyDeveloperDay added projects: clang-format, clang.
Herald added a project: All.
MyDeveloperDay requested review of this revision.
D144170: [clang-format] Add simple macro replacements in formatting. <https://reviews.llvm.org/D144170> didn't go via the normal clang-format reviewers and we'd have pointed out that this list of options remains sorted.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147176
Files:
clang/include/clang/Format/Format.h
Index: clang/include/clang/Format/Format.h
===================================================================
--- clang/include/clang/Format/Format.h
+++ clang/include/clang/Format/Format.h
@@ -4279,7 +4279,7 @@
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 @@
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<FormatStyle> GetLanguageStyle(LanguageKind Language) const;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147176.509437.patch
Type: text/x-patch
Size: 1197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230329/0232b895/attachment.bin>
More information about the cfe-commits
mailing list