home  

nl_do_brace

Properties

  Category: Newline adding and removing options
      Type: multiple (ignore add remove force)
   Default: ignore

Description

Add or remove newline between 'do' and '{'.

Examples

raw CPP code nl_do_brace=ignore nl_do_brace=add nl_do_brace=remove nl_do_brace=force nl
nl_do_brace=force
void f(){do a++;while(a>0);} void f(){do{a++;}while(a>0);} void f(){ do a++; while(a>0); } void f(){ do{a++;}while(a>0); } void f(){ do a++; while(a>0); } void f(){ do { a++; }while(a>0); } void f(){ do a++; while(a>0); } void f(){ do{ a++; }while(a>0); } void f(){ do a++; while(a>0); } void f(){ do { a++; }while(a>0); } void f(){ do a++; while(a>0); } void f(){ do { a++; }while(a>0); }
 

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