home  

nl_enum_brace

Properties

  Category: Newline adding and removing options
      Type: multiple (ignore add remove force)
   Default: ignore

Description

Add or remove newline between 'enum' and '{'.

Examples

raw CPP code nl_enum_brace=ignore nl_enum_brace=add nl_enum_brace=remove nl_enum_brace=force nl
nl_enum_brace=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.