mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:08:10 +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
|
@ -17,7 +17,7 @@ public:
|
|||
|
||||
virtual ~BlockBasedFileSystem() override;
|
||||
|
||||
u64 logical_block_size() const { return m_logical_block_size; };
|
||||
u64 logical_block_size() const { return m_logical_block_size; }
|
||||
|
||||
virtual void flush_writes() override;
|
||||
void flush_writes_impl();
|
||||
|
|
|
@ -41,7 +41,7 @@ private:
|
|||
|
||||
static constexpr u32 first_data_cluster = 2;
|
||||
|
||||
FAT32BootRecord const* boot_record() const { return reinterpret_cast<FAT32BootRecord const*>(m_boot_record->data()); };
|
||||
FAT32BootRecord const* boot_record() const { return reinterpret_cast<FAT32BootRecord const*>(m_boot_record->data()); }
|
||||
|
||||
BlockBasedFileSystem::BlockIndex first_block_of_cluster(u32 cluster) const;
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ public:
|
|||
ErrorOr<void> apply_flock(Process const&, OpenFileDescription const&, Userspace<flock const*>, ShouldBlock);
|
||||
ErrorOr<void> get_flock(OpenFileDescription const&, Userspace<flock*>) const;
|
||||
void remove_flocks_for_description(OpenFileDescription const&);
|
||||
Thread::FlockBlockerSet& flock_blocker_set() { return m_flock_blocker_set; };
|
||||
Thread::FlockBlockerSet& flock_blocker_set() { return m_flock_blocker_set; }
|
||||
|
||||
protected:
|
||||
Inode(FileSystem&, InodeIndex);
|
||||
|
|
|
@ -53,7 +53,7 @@ public:
|
|||
virtual ErrorOr<void> close() override;
|
||||
|
||||
virtual ErrorOr<NonnullOwnPtr<KString>> pseudo_path(OpenFileDescription const&) const override;
|
||||
virtual StringView class_name() const override { return "InodeWatcher"sv; };
|
||||
virtual StringView class_name() const override { return "InodeWatcher"sv; }
|
||||
virtual bool is_inode_watcher() const override { return true; }
|
||||
|
||||
void notify_inode_event(Badge<Inode>, InodeIdentifier, InodeWatcherEvent::Type, StringView name = {});
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
virtual StringView name() const = 0;
|
||||
virtual ErrorOr<size_t> read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const { return Error::from_errno(ENOTIMPL); }
|
||||
virtual ErrorOr<void> traverse_as_directory(FileSystemID, Function<ErrorOr<void>(FileSystem::DirectoryEntryView const&)>) const { VERIFY_NOT_REACHED(); }
|
||||
virtual RefPtr<SysFSComponent> lookup(StringView) { VERIFY_NOT_REACHED(); };
|
||||
virtual RefPtr<SysFSComponent> lookup(StringView) { VERIFY_NOT_REACHED(); }
|
||||
virtual mode_t permissions() const;
|
||||
virtual ErrorOr<void> truncate(u64) { return EPERM; }
|
||||
virtual size_t size() const { return 0; }
|
||||
|
@ -40,7 +40,7 @@ public:
|
|||
|
||||
virtual ErrorOr<NonnullRefPtr<SysFSInode>> to_inode(SysFS const&) const;
|
||||
|
||||
InodeIndex component_index() const { return m_component_index; };
|
||||
InodeIndex component_index() const { return m_component_index; }
|
||||
|
||||
virtual ~SysFSComponent() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue