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