nl_enum_colon_type
Category: Newline adding and removing options Type: multiple (ignore add remove force) Default: ignore
Add or remove newline between 'enum class identifier :' and type.
raw CPP code | nl_enum_colon_type=ignore | nl_enum_colon_type=add | nl_enum_colon_type=remove | nl_enum_colon_type=force | nl nl_enum_colon_type=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.