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