1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +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

@ -466,7 +466,7 @@ public:
{
}
void append_dimension(StringView dim) { m_dimensions.append(dim); };
void append_dimension(StringView dim) { m_dimensions.append(dim); }
private:
Vector<StringView> m_dimensions;

View file

@ -35,8 +35,8 @@ public:
virtual bool is_cpp_semantic_highlighter() const override { return true; }
protected:
virtual Vector<MatchingTokenPair> matching_token_pairs_impl() const override { return m_simple_syntax_highlighter.matching_token_pairs_impl(); };
virtual bool token_types_equal(u64 token1, u64 token2) const override { return m_simple_syntax_highlighter.token_types_equal(token1, token2); };
virtual Vector<MatchingTokenPair> matching_token_pairs_impl() const override { return m_simple_syntax_highlighter.matching_token_pairs_impl(); }
virtual bool token_types_equal(u64 token1, u64 token2) const override { return m_simple_syntax_highlighter.token_types_equal(token1, token2); }
private:
void update_spans(Vector<CodeComprehension::TokenInfo> const&, Gfx::Palette const&);