mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -21,7 +21,7 @@ public:
|
|||
bool is_valid() const { return m_node; }
|
||||
|
||||
Node* node() { return m_node; }
|
||||
const Node* node() const { return m_node; }
|
||||
Node const* node() const { return m_node; }
|
||||
|
||||
unsigned offset() const { return m_offset; }
|
||||
bool offset_is_at_end_of_node() const;
|
||||
|
@ -29,12 +29,12 @@ public:
|
|||
bool increment_offset();
|
||||
bool decrement_offset();
|
||||
|
||||
bool operator==(const Position& other) const
|
||||
bool operator==(Position const& other) const
|
||||
{
|
||||
return m_node == other.m_node && m_offset == other.m_offset;
|
||||
}
|
||||
|
||||
bool operator!=(const Position& other) const
|
||||
bool operator!=(Position const& other) const
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue