nl_enum_own_lines
Category: Newline adding and removing options Type: multiple (ignore add remove force) Default: ignore
Add or remove newline before first element, after comma, and after last element, in 'enum'.
raw CPP code | nl_enum_own_lines=ignore | nl_enum_own_lines=add | nl_enum_own_lines=remove | nl_enum_own_lines=force | nl nl_enum_own_lines=force |
---|---|---|---|---|---|
enum{A,B,C=-2,D,E}; | enum {A,B,C=-2,D,E}; | enum { A, B, C=-2, D, E }; | enum {A,B,C=-2,D,E}; | enum { A, B, C=-2, D, E }; | enum { A, B, C=-2, D, E }; |
Not the best code for this option? See how to improve the .uds file used to generate these examples.