sp_return_brace
Category: Spacing options Type: multiple (ignore add remove force) Default: ignore
Add or remove space between 'return' and '{'.
raw CPP code | sp_return_brace=ignore | sp_return_brace=add | sp_return_brace=remove | sp_return_brace=force | space sp_return_brace=force |
---|---|---|---|---|---|
void f(){return;} int f(){return a+b;} int f(){return(a+b);} | void f(){ return; } int f(){ return a+b; } int f(){ return(a+b); } | void f(){ return; } int f(){ return a+b; } int f(){ return(a+b); } | void f(){ return; } int f(){ return a+b; } int f(){ return(a+b); } | void f(){ return; } int f(){ return a+b; } int f(){ return(a+b); } | voidf(){ return; } intf(){ returna+b; } intf(){ return(a+b); } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.