home  

nl_ds_struct_enum_close_brace

Properties

  Category: Newline adding and removing options
      Type: boolean [false, true]
   Default: false

Description

Whether to force a newline before '}' of a 'struct'/'union'/'enum'.
(Lower priority than eat_blanks_before_close_brace.)

Examples

raw CPP code nl_ds_struct_enum_close_brace=false nl_ds_struct_enum_close_brace=true nl
nl_ds_struct_enum_close_brace=true
enum{nlA,B,C=-2,D,E}; enum {nlA,B,C=-2,D,E}; enum {nlA,B,C=-2,D,E}; enum {nlA,B,C=-2,D,E};
 

Not the best code for this option? See how to improve the .uds file used to generate these examples.