@@ -2786,11 +2786,6 @@ struct FormatStyle {
27862786 // / \version 3.7
27872787 std::vector<std::string> ForEachMacros;
27882788
2789- // / A vector of function-like macros whose invocations should be skipped by
2790- // / ``RemoveParentheses``.
2791- // / \version 21
2792- std::vector<std::string> FunctionLikeMacros;
2793-
27942789 tooling::IncludeStyle IncludeStyle;
27952790
27962791 // / A vector of macros that should be interpreted as conditionals
@@ -3493,6 +3488,11 @@ struct FormatStyle {
34933488 // / \version 17
34943489 std::vector<std::string> Macros;
34953490
3491+ // / A vector of function-like macros whose invocations should be skipped by
3492+ // / ``RemoveParentheses``.
3493+ // / \version 21
3494+ std::vector<std::string> MacrosSkippedByRemoveParentheses;
3495+
34963496 // / The maximum number of consecutive empty lines to keep.
34973497 // / \code
34983498 // / MaxEmptyLinesToKeep: 1 vs. MaxEmptyLinesToKeep: 0
@@ -5387,7 +5387,6 @@ struct FormatStyle {
53875387 R.ExperimentalAutoDetectBinPacking &&
53885388 FixNamespaceComments == R.FixNamespaceComments &&
53895389 ForEachMacros == R.ForEachMacros &&
5390- FunctionLikeMacros == R.FunctionLikeMacros &&
53915390 IncludeStyle.IncludeBlocks == R.IncludeStyle .IncludeBlocks &&
53925391 IncludeStyle.IncludeCategories == R.IncludeStyle .IncludeCategories &&
53935392 IncludeStyle.IncludeIsMainRegex ==
@@ -5416,6 +5415,8 @@ struct FormatStyle {
54165415 LambdaBodyIndentation == R.LambdaBodyIndentation &&
54175416 LineEnding == R.LineEnding && MacroBlockBegin == R.MacroBlockBegin &&
54185417 MacroBlockEnd == R.MacroBlockEnd && Macros == R.Macros &&
5418+ MacrosSkippedByRemoveParentheses ==
5419+ R.MacrosSkippedByRemoveParentheses &&
54195420 MaxEmptyLinesToKeep == R.MaxEmptyLinesToKeep &&
54205421 NamespaceIndentation == R.NamespaceIndentation &&
54215422 NamespaceMacros == R.NamespaceMacros &&
0 commit comments