mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:15:07 +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
|
@ -47,14 +47,14 @@ public:
|
|||
|
||||
~DescendantFetchingContext() = default;
|
||||
|
||||
size_t pending_count() const { return m_pending_count; };
|
||||
size_t pending_count() const { return m_pending_count; }
|
||||
void set_pending_count(size_t count) { m_pending_count = count; }
|
||||
void decrement_pending_count() { --m_pending_count; }
|
||||
|
||||
bool failed() const { return m_failed; }
|
||||
void set_failed(bool failed) { m_failed = failed; }
|
||||
|
||||
void on_complete(JavaScriptModuleScript* module_script) { m_on_complete(module_script); };
|
||||
void on_complete(JavaScriptModuleScript* module_script) { m_on_complete(module_script); }
|
||||
void set_on_complete(OnFetchScriptComplete on_complete) { m_on_complete = move(on_complete); }
|
||||
|
||||
private:
|
||||
|
|
|
@ -20,13 +20,13 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
AK::URL const& url() const { return m_url; };
|
||||
AK::URL const& url() const { return m_url; }
|
||||
DeprecatedString const& type() const { return m_type; }
|
||||
|
||||
bool operator==(ModuleLocationTuple const& other) const
|
||||
{
|
||||
return other.url() == m_url && other.type() == m_type;
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
AK::URL m_url;
|
||||
|
|
|
@ -37,8 +37,8 @@ public:
|
|||
|
||||
JS::Promise* run(PreventErrorReporting = PreventErrorReporting::No);
|
||||
|
||||
JS::SourceTextModule const* record() const { return m_record.ptr(); };
|
||||
JS::SourceTextModule* record() { return m_record.ptr(); };
|
||||
JS::SourceTextModule const* record() const { return m_record.ptr(); }
|
||||
JS::SourceTextModule* record() { return m_record.ptr(); }
|
||||
|
||||
protected:
|
||||
JavaScriptModuleScript(AK::URL base_url, DeprecatedString filename, EnvironmentSettingsObject& environment_settings_object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue