Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang-format: Fix space after for_each macros
Set SpaceBeforeParens to ControlStatementsExceptForEachMacros to not add space between a for_each macro and the following parenthesis. This option is available since clang-format-11 [1] and is in line with the checkpatch.pl rules [2]. I found that this patch has also been sent by Brian Norris some weeks ago [3]. Link: https://clang.llvm.org/docs/ClangFormatStyleOptions.html [1] Link: https://lore.kernel.org/r/[email protected] [2] Link: https://lore.kernel.org/lkml/[email protected]/ [3] Cc: Miguel Ojeda <[email protected]> Cc: Tom Rix <[email protected]> Signed-off-by: Brian Norris <[email protected]> Co-developed-by: Mickaël Salaün <[email protected]> Signed-off-by: Mickaël Salaün <[email protected]> Link: https://lore.kernel.org/r/[email protected] [Adjusted authorship as agreed] Signed-off-by: Miguel Ojeda <[email protected]>
- Loading branch information