nl_while_leave_one_liners
Category: Newline adding and removing options Type: boolean [false, true] Default: false
Don't split one-line while statements, as in 'while(...) b++;'.
raw CPP code | nl_while_leave_one_liners=false | nl_while_leave_one_liners=true | nl nl_while_leave_one_liners=true |
---|---|---|---|
void f1(){while(a>0)a++;} void f1(){while(a>0){a++;}} | void f1(){ while(a>0) a++; } void f1(){ while(a>0){a++;} } | void f1(){ while(a>0) a++; } void f1(){ while(a>0){a++;} } | void f1(){ while(a>0) a++; } void f1(){ while(a>0){a++;} } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.