Cleanup: Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule. This should be the final commit of the series of commits that
addresses this particular rule.

No functional changes.
This commit is contained in:
2020-08-07 13:37:22 +02:00
parent 3d48d99647
commit c04088fed1
23 changed files with 272 additions and 309 deletions

View File

@@ -45,9 +45,8 @@ static bool set_tag_and_check_if_modified(bool &tag, bool new_value)
tag = new_value;
return true;
}
else {
return false;
}
return false;
}
static Array<bool> mask_nodes_to_the_left(MFNetwork &network, Span<MFNode *> nodes)