This check looks for return statements at the end of a function returning void:
void f()
{
return;
}becomes
void f()
{
}It looks for redundant continue statements at the end of loop constructs:
void f() {
for (int i = 0; i < 10; ++i) {
g();
continue;
}
}becomes
void f() {
for (int i = 0; i < 10; ++i) {
g();
}
}
void function -> function with a void return type.