home  

nl_ds_struct_enum_cmt

Properties

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

Description

Whether to double-space commented-entries in 'struct'/'union'/'enum'.

Examples

raw CPP code nl_ds_struct_enum_cmt=false nl_ds_struct_enum_cmt=true nl
nl_ds_struct_enum_cmt=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.