Skip to content

Commit c32668a

Browse files
committed
Merge branch 'jt/clang-format-foreach-wo-space-before-parenthesis' into next
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
2 parents 236ee7b + 3721541 commit c32668a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ SpaceBeforeCaseColon: false
149149
# f();
150150
# }
151151
# }
152-
SpaceBeforeParens: ControlStatements
152+
SpaceBeforeParens: ControlStatementsExceptControlMacros
153153

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

0 commit comments

Comments
 (0)