home  

sp_enum_colon

Properties

  Category: Spacing options
      Type: multiple (ignore add remove force)
   Default: ignore

Description

Add or remove space around assignment ':' in enum.

Examples

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.