Skip to content

Commit f274ffc

Browse files
[clang-format][NFC] Resort IO Mapping
1 parent 2c3b12b commit f274ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Format/Format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ template <> struct MappingTraits<FormatStyle> {
997997
IO.mapOptional("LineEnding", Style.LineEnding);
998998
IO.mapOptional("MacroBlockBegin", Style.MacroBlockBegin);
999999
IO.mapOptional("MacroBlockEnd", Style.MacroBlockEnd);
1000+
IO.mapOptional("Macros", Style.Macros);
10001001
IO.mapOptional("MaxEmptyLinesToKeep", Style.MaxEmptyLinesToKeep);
10011002
IO.mapOptional("NamespaceIndentation", Style.NamespaceIndentation);
10021003
IO.mapOptional("NamespaceMacros", Style.NamespaceMacros);
@@ -1094,7 +1095,6 @@ template <> struct MappingTraits<FormatStyle> {
10941095
Style.VerilogBreakBetweenInstancePorts);
10951096
IO.mapOptional("WhitespaceSensitiveMacros",
10961097
Style.WhitespaceSensitiveMacros);
1097-
IO.mapOptional("Macros", Style.Macros);
10981098

10991099
// If AlwaysBreakAfterDefinitionReturnType was specified but
11001100
// AlwaysBreakAfterReturnType was not, initialize the latter from the

0 commit comments

Comments
 (0)