mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
clang-format: Set IndentWrappedFunctionNames false
The true option causes this indenting for functions:
static struct something_very_very_long *
function(void *arg)
{
While a quick survey suggests that the usual Linux fallback is the GNU
style:
static struct something_very_very_long *
function(void *arg)
{
Eg as seen in:
kernel/cpu.c
kernel/fork.c
etc
Acked-by: Joe Perches <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Miguel Ojeda <[email protected]>
This commit is contained in:
parent
acb1872577
commit
7bee9bd21b
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ IncludeIsMainRegex: '(Test)?$'
|
|||
IndentCaseLabels: false
|
||||
#IndentPPDirectives: None # Unknown to clang-format-5.0
|
||||
IndentWidth: 8
|
||||
IndentWrappedFunctionNames: true
|
||||
IndentWrappedFunctionNames: false
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
|
|
|
|||
Loading…
Reference in a new issue