nl_after_struct
Category: Blank line options Type: numeric [0 .. 16] Default: 0
The number of newlines after '}' or ';' of a struct/enum/union definition.
raw CPP code | nl_after_struct=0 | nl_after_struct=5 | nl_after_struct=10 | nl_after_struct=16 | nl nl_after_struct=0 |
---|---|---|---|---|---|
struct S{int a;long l;float f;char c[8]}S; union U{int a;long l;float f;char c[8]}U; | struct S {int a; long l; float f; char c[8]} S; union U {int a; long l; float f; char c[8]} U; | struct S {int a; long l; float f; char c[8]} S; union U {int a; long l; float f; char c[8]} U; | struct S {int a; long l; float f; char c[8]} S; union U {int a; long l; float f; char c[8]} U; | struct S {int a; long l; float f; char c[8]} S; union U {int a; long l; float f; char c[8]} U; | struct S {int a;long l;float f;char c[8]} S; union U {int a;long l;float f;char c[8]} U; |
Not the best code for this option? See how to improve the .uds file used to generate these examples.