mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +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
|
@ -177,7 +177,7 @@ public:
|
|||
return indices;
|
||||
}
|
||||
|
||||
u32 bit_mask() const { return m_bit_mask; };
|
||||
u32 bit_mask() const { return m_bit_mask; }
|
||||
|
||||
// Disable default implementations that would use surprising integer promotion.
|
||||
bool operator==(MaskedBitField const&) const = delete;
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
u32 port_index() const { return m_port_index; }
|
||||
u32 representative_port_index() const { return port_index() + 1; }
|
||||
bool is_operable() const;
|
||||
bool is_atapi_attached() const { return m_port_registers.sig == (u32)ATA::DeviceSignature::ATAPI; };
|
||||
bool is_atapi_attached() const { return m_port_registers.sig == (u32)ATA::DeviceSignature::ATAPI; }
|
||||
|
||||
LockRefPtr<StorageDevice> connected_device() const { return m_connected_device; }
|
||||
|
||||
|
@ -96,7 +96,7 @@ private:
|
|||
|
||||
Optional<u8> try_to_find_unused_command_header();
|
||||
|
||||
ALWAYS_INLINE bool is_interface_disabled() const { return (m_port_registers.ssts & 0xf) == 4; };
|
||||
ALWAYS_INLINE bool is_interface_disabled() const { return (m_port_registers.ssts & 0xf) == 4; }
|
||||
|
||||
ALWAYS_INLINE void wait_until_condition_met_or_timeout(size_t delay_in_microseconds, size_t retries, Function<bool(void)> condition_being_met) const;
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
~ATAPortInterruptDisabler()
|
||||
{
|
||||
(void)m_port->enable_interrupts();
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
LockRefPtr<ATAPort> m_port;
|
||||
|
@ -40,7 +40,7 @@ public:
|
|||
~ATAPortInterruptCleaner()
|
||||
{
|
||||
(void)m_port->force_clear_interrupts();
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
LockRefPtr<ATAPort> m_port;
|
||||
|
|
|
@ -77,7 +77,7 @@ public:
|
|||
bool operator<(IOWindowGroup const&) const = delete;
|
||||
bool operator>(IOWindowGroup const&) const = delete;
|
||||
|
||||
IOWindow& io_window() const { return *m_io_window; };
|
||||
IOWindow& io_window() const { return *m_io_window; }
|
||||
IOWindow& control_window() const { return *m_control_window; }
|
||||
IOWindow* bus_master_window() const { return m_bus_master_window.ptr(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue