home  

sp_do_brace_open

Properties

  Category: Spacing options
      Type: multiple (ignore add remove force)
   Default: ignore

Description

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

Examples

raw CPP code sp_do_brace_open=ignore sp_do_brace_open=add sp_do_brace_open=remove sp_do_brace_open=force space
sp_do_brace_open=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); } voidf(){ doa++;while(a>0); } voidf(){ do{a++;}while(a>0); }
 

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