indent_single_after_return
Category: Indenting options Type: boolean [false, true] Default: false
If true, the tokens after return are indented with regular single indentation. By default (false) the indentation is after the return token.
raw CPP code | indent_single_after_return=false | indent_single_after_return=true |
---|---|---|
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); } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.