nl_fdef_brace
Category: Newline adding and removing options Type: multiple (ignore add remove force) Default: ignore
Add or remove newline between function signature and '{'.
int f(char* str) { ...
raw CPP code | nl_fdef_brace=false | nl_fdef_brace=true | nl nl_fdef_brace=true |
---|---|---|---|
int f(int a){ return a; } int g(int a) { return a; } int h(int a){ return a; } | int f(int a){ return a; } int g(int a){ return a; } int h(int a){ return a; } | int f(int a) { return a; } int g(int a) { return a; } int h(int a) { return a; } | int f(int a) { return a; } int g(int a) { return a; } int h(int a) { return a; } |
Should have been named 'nl_func_def_brace' Warning: nl_fdef_brace_cond overrides this function. See also: nl_func_leave_one_liners Looks like the tracking is not working Edited by JEAYNE
TAGS: important
Not the best code for this option? See how to improve the .uds file used to generate these examples.