mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
Everywhere: Remove needless trailing semi-colons after functions
This is a new option in clang-format-16.
This commit is contained in:
parent
aff81d318b
commit
c911781c21
243 changed files with 483 additions and 481 deletions
|
@ -180,7 +180,7 @@ public:
|
|||
bool needs_bracketed_paste() const
|
||||
{
|
||||
return m_needs_bracketed_paste;
|
||||
};
|
||||
}
|
||||
|
||||
bool is_within_scroll_region(u16 line) const
|
||||
{
|
||||
|
@ -400,8 +400,8 @@ protected:
|
|||
m_history_start = (m_history_start + 1) % m_history.size();
|
||||
}
|
||||
|
||||
Vector<NonnullOwnPtr<Line>>& active_buffer() { return m_use_alternate_screen_buffer ? m_alternate_screen_buffer : m_normal_screen_buffer; };
|
||||
Vector<NonnullOwnPtr<Line>> const& active_buffer() const { return m_use_alternate_screen_buffer ? m_alternate_screen_buffer : m_normal_screen_buffer; };
|
||||
Vector<NonnullOwnPtr<Line>>& active_buffer() { return m_use_alternate_screen_buffer ? m_alternate_screen_buffer : m_normal_screen_buffer; }
|
||||
Vector<NonnullOwnPtr<Line>> const& active_buffer() const { return m_use_alternate_screen_buffer ? m_alternate_screen_buffer : m_normal_screen_buffer; }
|
||||
Vector<NonnullOwnPtr<Line>> m_normal_screen_buffer;
|
||||
Vector<NonnullOwnPtr<Line>> m_alternate_screen_buffer;
|
||||
#endif
|
||||
|
|
|
@ -1303,7 +1303,7 @@ constexpr Gfx::Color TerminalWidget::terminal_color_to_rgb(VT::Color color) cons
|
|||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void TerminalWidget::set_font_and_resize_to_fit(Gfx::Font const& font)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
void apply_size_increments_to_window(GUI::Window&);
|
||||
|
||||
void set_opacity(u8);
|
||||
float opacity() { return m_opacity; };
|
||||
float opacity() { return m_opacity; }
|
||||
|
||||
void set_show_scrollbar(bool);
|
||||
|
||||
|
@ -53,7 +53,7 @@ public:
|
|||
};
|
||||
|
||||
BellMode bell_mode() { return m_bell_mode; }
|
||||
void set_bell_mode(BellMode bm) { m_bell_mode = bm; };
|
||||
void set_bell_mode(BellMode bm) { m_bell_mode = bm; }
|
||||
|
||||
bool has_selection() const;
|
||||
bool selection_contains(const VT::Position&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue