Cleanup: Clang-Tidy, modernize-redundant-void-arg

This commit is contained in:
2020-11-06 13:18:48 +01:00
parent 41db8f2fce
commit a331d5c992
27 changed files with 98 additions and 99 deletions

View File

@@ -73,7 +73,7 @@ void DepsgraphDebug::end_graph_evaluation()
is_ever_evaluated = true;
}
bool terminal_do_color(void)
bool terminal_do_color()
{
return (G.debug & G_DEBUG_DEPSGRAPH_PRETTY) != 0;
}
@@ -90,7 +90,7 @@ string color_for_pointer(const void *pointer)
return string(buffer);
}
string color_end(void)
string color_end()
{
if (!terminal_do_color()) {
return "";