mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +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
|
@ -115,7 +115,7 @@ MainWidget::MainWidget()
|
|||
void MainWidget::update_title()
|
||||
{
|
||||
window()->set_title(DeprecatedString::formatted("{}[*] - GML Playground", m_file_path.is_empty() ? "Untitled"sv : m_file_path.view()));
|
||||
};
|
||||
}
|
||||
|
||||
void MainWidget::load_file(FileSystemAccessClient::File file)
|
||||
{
|
||||
|
@ -130,7 +130,7 @@ void MainWidget::load_file(FileSystemAccessClient::File file)
|
|||
update_title();
|
||||
|
||||
GUI::Application::the()->set_most_recently_open_file(file.filename());
|
||||
};
|
||||
}
|
||||
|
||||
ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window)
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
void refresh();
|
||||
void set_view_diff_callback(ViewDiffCallback callback);
|
||||
bool initialized() const { return !m_git_repo.is_null(); };
|
||||
bool initialized() const { return !m_git_repo.is_null(); }
|
||||
void change_repo(DeprecatedString const& repo_root);
|
||||
|
||||
private:
|
||||
|
|
|
@ -1167,7 +1167,7 @@ void HackStudioWidget::run()
|
|||
void HackStudioWidget::hide_action_tabs()
|
||||
{
|
||||
m_action_tab_widget->set_preferred_height(24);
|
||||
};
|
||||
}
|
||||
|
||||
Project& HackStudioWidget::project()
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
Vector<NonnullRefPtr<FileEventNode>>& children() { return m_children; }
|
||||
Vector<NonnullRefPtr<FileEventNode>> const& children() const { return m_children; }
|
||||
|
||||
FileEventNode* parent() { return m_parent; };
|
||||
FileEventNode* parent() { return m_parent; }
|
||||
|
||||
FileEventNode& create_recursively(DeprecatedString);
|
||||
|
||||
|
|
|
@ -23,6 +23,6 @@ DeprecatedString format_percentage(auto value, auto total)
|
|||
"{}.{:02}",
|
||||
percentage_full_precision / percent_digits_rounding,
|
||||
percentage_full_precision % percent_digits_rounding);
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ public:
|
|||
auto new_child = ProfileNode::create(m_process, object_name, move(symbol), address, offset, timestamp, pid);
|
||||
add_child(new_child);
|
||||
return new_child;
|
||||
};
|
||||
}
|
||||
|
||||
ProfileNode* parent() { return m_parent; }
|
||||
ProfileNode const* parent() const { return m_parent; }
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
|
||||
protected:
|
||||
Region(u32 base, u32 size, bool mmap = false);
|
||||
void set_range(Range r) { m_range = r; };
|
||||
void set_range(Range r) { m_range = r; }
|
||||
|
||||
private:
|
||||
Emulator& m_emulator;
|
||||
|
|
|
@ -3184,8 +3184,8 @@ void SoftCPU::CVTSD2SS_xmm1_xmm2m64(X86::Instruction const&) { TODO_INSN(); }
|
|||
void SoftCPU::CVTDQ2PS_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::CVTPS2DQ_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::CVTTPS2DQ_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::SUBPD_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); };
|
||||
void SoftCPU::SUBSD_xmm1_xmm2m32(X86::Instruction const&) { TODO_INSN(); };
|
||||
void SoftCPU::SUBPD_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::SUBSD_xmm1_xmm2m32(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::MINPD_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::MINSD_xmm1_xmm2m32(X86::Instruction const&) { TODO_INSN(); }
|
||||
void SoftCPU::DIVPD_xmm1_xmm2m128(X86::Instruction const&) { TODO_INSN(); }
|
||||
|
|
|
@ -294,7 +294,7 @@ public:
|
|||
|
||||
long double fpu_get(u8 index) { return m_fpu.fpu_get(index); }
|
||||
long double fpu_pop() { return m_fpu.fpu_pop(); }
|
||||
MMX mmx_get(u8 index) const { return m_fpu.mmx_get(index); };
|
||||
MMX mmx_get(u8 index) const { return m_fpu.mmx_get(index); }
|
||||
|
||||
void set_eax(ValueWithShadow<u32> value) { gpr32(X86::RegisterEAX) = value; }
|
||||
void set_ebx(ValueWithShadow<u32> value) { gpr32(X86::RegisterEBX) = value; }
|
||||
|
|
|
@ -1133,7 +1133,7 @@ void SoftFPU::FNINIT(const X86::Instruction&)
|
|||
m_fpu_ds = 0;
|
||||
|
||||
m_fpu_iop = 0;
|
||||
};
|
||||
}
|
||||
void SoftFPU::FNCLEX(const X86::Instruction&)
|
||||
{
|
||||
m_fpu_error_invalid = 0;
|
||||
|
@ -1718,7 +1718,7 @@ void SoftFPU::MOVD_mm1_rm32(const X86::Instruction& insn)
|
|||
// upper half is zeroed out
|
||||
mmx_set(mmx_index, { .raw = insn.modrm().read32(m_cpu, insn).value() });
|
||||
mmx_common();
|
||||
};
|
||||
}
|
||||
void SoftFPU::MOVD_rm32_mm2(const X86::Instruction& insn)
|
||||
{
|
||||
VERIFY(!insn.has_operand_size_override_prefix()); /* SSE2 */
|
||||
|
@ -1727,7 +1727,7 @@ void SoftFPU::MOVD_rm32_mm2(const X86::Instruction& insn)
|
|||
insn.modrm().write32(m_cpu, insn,
|
||||
shadow_wrap_as_initialized(static_cast<u32>(mmx_get(mmx_index).raw)));
|
||||
mmx_common();
|
||||
};
|
||||
}
|
||||
|
||||
void SoftFPU::MOVQ_mm1_mm2m64(const X86::Instruction& insn)
|
||||
{
|
||||
|
@ -1757,8 +1757,8 @@ void SoftFPU::MOVQ_mm1m64_mm2(const X86::Instruction& insn)
|
|||
}
|
||||
mmx_common();
|
||||
}
|
||||
void SoftFPU::MOVQ_mm1_rm64(const X86::Instruction&) { TODO_INSN(); }; // long mode
|
||||
void SoftFPU::MOVQ_rm64_mm2(const X86::Instruction&) { TODO_INSN(); }; // long mode
|
||||
void SoftFPU::MOVQ_mm1_rm64(const X86::Instruction&) { TODO_INSN(); } // long mode
|
||||
void SoftFPU::MOVQ_rm64_mm2(const X86::Instruction&) { TODO_INSN(); } // long mode
|
||||
|
||||
// EMPTY MMX STATE
|
||||
void SoftFPU::EMMS(const X86::Instruction&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue