home  

indent_single_after_return

Properties

  Category: Indenting options
      Type: boolean [false, true]
   Default: false

Description

If true, the tokens after return are indented with regular single indentation. By default (false) the indentation is after the return token.

Examples

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.