nl_after_func_body

The number of newlines after '}' of a multi-line function body.

Value is unsigned number. Note there is always one newline after function end, so really values mean:

Also there are two options that override this one: nl_after_func_body_class and nl_after_func_body_one_liner.

Examples

Config nl_after_func_body = 3 and code before:

int tf(const int ip)
{
    return ip + 10;
}

int tf2(const int ip)
{
    return ip + 10;
}






int main()
{

code after:

int tf(const int ip)
{
    return ip + 10;
}


int tf2(const int ip)
{
    return ip + 10;
}


int main()
{

See also