nl_before_return
Category: Newline adding and removing options Type: boolean [false, true] Default: false
Whether to put a blank line before 'return' statements, unless after an open brace.
raw CPP code | nl_before_return=false | nl_before_return=true | nl nl_before_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); } | 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.