nl_after_while
Category: Newline adding and removing options Type: multiple (ignore add remove force) Default: ignore
Add or remove blank line after 'while' statement.
raw CPP code | nl_after_while=ignore | nl_after_while=add | nl_after_while=remove | nl_after_while=force | nl nl_after_while=force |
---|---|---|---|---|---|
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++;} } | 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.