mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:24: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:
parent
aff81d318b
commit
c911781c21
243 changed files with 483 additions and 481 deletions
|
@ -207,8 +207,8 @@ public:
|
|||
[[nodiscard]] bool mmapped_from_readable() const { return m_mmapped_from_readable; }
|
||||
[[nodiscard]] bool mmapped_from_writable() const { return m_mmapped_from_writable; }
|
||||
|
||||
void start_handling_page_fault(Badge<MemoryManager>) { m_in_progress_page_faults++; };
|
||||
void finish_handling_page_fault(Badge<MemoryManager>) { m_in_progress_page_faults--; };
|
||||
void start_handling_page_fault(Badge<MemoryManager>) { m_in_progress_page_faults++; }
|
||||
void finish_handling_page_fault(Badge<MemoryManager>) { m_in_progress_page_faults--; }
|
||||
|
||||
private:
|
||||
Region();
|
||||
|
|
|
@ -26,7 +26,7 @@ public:
|
|||
size_t used_bytes() const { return m_num_used_bytes; }
|
||||
PhysicalAddress start_of_region() const { return m_region->physical_page(0)->paddr(); }
|
||||
VirtualAddress vaddr() const { return m_region->vaddr(); }
|
||||
size_t bytes_till_end() const { return (m_capacity_in_bytes - ((m_start_of_used + m_num_used_bytes) % m_capacity_in_bytes)) % m_capacity_in_bytes; };
|
||||
size_t bytes_till_end() const { return (m_capacity_in_bytes - ((m_start_of_used + m_num_used_bytes) % m_capacity_in_bytes)) % m_capacity_in_bytes; }
|
||||
|
||||
private:
|
||||
RingBuffer(NonnullOwnPtr<Memory::Region> region, size_t capacity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue