I've been working on my uncrustify config for a few hours now and I'm very close to having it the way I need it. However, I can't find an option to control newlines between function bodies. Uncrustify always removes blank lines between functions, but I'd like to enforce one blank line. Currently I get this:
Input:
void foo() {
std::cout << "foo!" << std::endl;
}
void bar() {
std::cout << "bar!" << std::endl;
}
Output:
void foo() {
std::cout << "foo!" << std::endl;
}
void bar() {
std::cout << "bar!" << std::endl;
}
In my case, I'd like to preserve (force!) the blank line in the input. Is there an option to control this?