Skip to content

Commit 64fa50e

Browse files
committed
Avoid unnecessary spaces created by clang-format
Add a statement so that clang-format follows the linux kernel coding style, preventing spaces between a macro's name and the parenthesis. Change-Id: I97bf12cd270c6aef03eca359e29636bb5fb3d616
1 parent 29d90ea commit 64fa50e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.clang-format

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ ForEachMacros:
2424
- hlist_for_each_entry
2525
- rb_list_foreach
2626
- rb_list_foreach_safe
27+
SpaceBeforeParens: ControlStatementsExceptForEachMacros
28+

0 commit comments

Comments
 (0)