home  

sp_brace_close_while

Properties

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

Description

Add or remove space between '}' and 'while'.

Examples

raw CPP code sp_brace_close_while=ignore sp_brace_close_while=add sp_brace_close_while=remove sp_brace_close_while=force space
sp_brace_close_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++;} } voidf1(){ while(a>0)a++; } voidf1(){ while(a>0){a++;} }
 

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