Merge branch 'jt/clang-format-foreach-wo-space-before-parenthesis'

Clang-format update to let our control macros formatted the way we
had them traditionally, e.g., "for_each_string_list_item()" without
space before the parentheses.

* jt/clang-format-foreach-wo-space-before-parenthesis:
  clang-format: exclude control macros from SpaceBeforeParens
main
Junio C Hamano 2025-10-07 12:25:27 -07:00
commit 6623b73ca6
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ SpaceBeforeCaseColon: false
# f(); # f();
# } # }
# } # }
SpaceBeforeParens: ControlStatements SpaceBeforeParens: ControlStatementsExceptControlMacros


# Don't insert spaces inside empty '()' # Don't insert spaces inside empty '()'
SpaceInEmptyParentheses: false SpaceInEmptyParentheses: false