sp_enum_colon
Category: Spacing options Type: multiple (ignore add remove force) Default: ignore
Add or remove space around assignment ':' in enum.
raw CPP code | sp_enum_colon=ignore | sp_enum_colon=add | sp_enum_colon=remove | sp_enum_colon=force | space sp_enum_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.