1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

Everywhere: Remove needless trailing semi-colons after functions

This is a new option in clang-format-16.
This commit is contained in:
Timothy Flynn 2023-07-07 22:48:11 -04:00 committed by Linus Groh
parent aff81d318b
commit c911781c21
243 changed files with 483 additions and 481 deletions

View file

@ -18,7 +18,7 @@ static void print_cache_info(StringView description, JsonObject const& cache_obj
outln("\t{}:", description);
outln("\t\tSize: {}", human_readable_size(cache_object.get_u32("size"sv).value()));
outln("\t\tLine size: {}", human_readable_size(cache_object.get_u32("line_size"sv).value()));
};
}
static void print_cpu_info(JsonObject const& value)
{

View file

@ -42,7 +42,7 @@ static size_t get_maximum_tcp_buffer_size(size_t input_buf_size)
if (input_buf_size > maximum_tcp_receive_buffer_size_upper_bound)
return maximum_tcp_receive_buffer_size_upper_bound;
return input_buf_size;
};
}
ErrorOr<int> serenity_main(Main::Arguments arguments)
{

View file

@ -58,7 +58,7 @@ static void print_closing_statistics()
if (successful_pings)
average_ms = total_ms / successful_pings;
outln("rtt min/avg/max = {}/{}/{} ms", min_ms, average_ms, max_ms);
};
}
ErrorOr<int> serenity_main(Main::Arguments arguments)
{

View file

@ -611,7 +611,7 @@ private:
auto element = TRY(String::from_utf8(element_sv));
TRY(container.try_append(move(element)));
return {};
};
}
};
enum class CycleDecision {

View file

@ -46,7 +46,7 @@ private:
{
if (event.button() == GUI::MouseButton::Primary)
m_anchor_point = event.position();
};
}
virtual void mousemove_event(GUI::MouseEvent& event) override
{
@ -54,13 +54,13 @@ private:
m_region = Gfx::IntRect::from_two_points(*m_anchor_point, event.position());
update();
}
};
}
virtual void mouseup_event(GUI::MouseEvent& event) override
{
if (event.button() == GUI::MouseButton::Primary)
m_window->close();
};
}
virtual void paint_event(GUI::PaintEvent&) override
{

View file

@ -286,7 +286,7 @@ private:
m_loop.quit(0);
return;
}
};
}
static DeprecatedString prompt_for_level(int level)
{