nl_enum_leave_one_liners
Category: Newline adding and removing options Type: boolean [false, true] Default: false
Don't split one-line enums, as in 'enum foo { BAR = 15 };'
raw CPP code | nl_enum_leave_one_liners=false | nl_enum_leave_one_liners=true | nl nl_enum_leave_one_liners=true |
---|---|---|---|
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.