nl_ds_struct_enum_cmt

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

It seems official description cited above is incorrect. Instead nl_ds_struct_enum_cmt adds newline before commented member of 'struct'/'union'/'enum'.

Possible values are true and false, default false.

Examples

true

Before:

typedef struct {
    int hour;
    int min;
//  int gee;
    int sec;
} counter_t;

After

typedef struct {
    int hour;
    int min;

//  int gee;
    int sec;
} counter_t;

false

Example remains unchanged.

See also