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