nl_after_return
Whether to put a blank line after 'return' statements, unless followed by a close brace.
Possible values are true and false, default false.
Examples
true
Before:
int foofunc(int x)
{
if (x<10)
return 20;
x = x+40;
return x;
}
After
int foofunc(int x)
{
if (x<10)
return 20;
x = x+40;
return x;
}
false
Example remains unchanged.
See also
- nl_after_case: Whether to add a newline after a
case
statement. - nl_after_if: Add or remove blank line after
if
statement. - nl_before_case: Whether to add a newline before
case
, and a blank line before acase
statement that follows a;
or}
.