mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +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
				
			
		|  | @ -212,7 +212,7 @@ public: | |||
|     void register_frame_nesting(AK::URL const&); | ||||
|     bool is_frame_nesting_allowed(AK::URL const&) const; | ||||
| 
 | ||||
|     void set_frame_nesting_levels(HashMap<AK::URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); }; | ||||
|     void set_frame_nesting_levels(HashMap<AK::URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); } | ||||
|     HashMap<AK::URL, size_t> const& frame_nesting_levels() const { return m_frame_nesting_levels; } | ||||
| 
 | ||||
|     DOM::Document* container_document(); | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ public: | |||
|     virtual void apply_presentational_hints(CSS::StyleProperties&) const override; | ||||
| 
 | ||||
|     // https://www.w3.org/TR/html-aria/#el-body
 | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::generic; }; | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::generic; } | ||||
| 
 | ||||
| private: | ||||
|     HTMLBodyElement(DOM::Document&, DOM::QualifiedName); | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ public: | |||
|     virtual ~HTMLDetailsElement() override; | ||||
| 
 | ||||
|     // https://www.w3.org/TR/html-aria/#el-details
 | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::group; }; | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::group; } | ||||
| 
 | ||||
|     // ^Element
 | ||||
|     WebIDL::ExceptionOr<void> set_attribute(DeprecatedFlyString const& name, DeprecatedString const& value) override; | ||||
|  |  | |||
|  | @ -78,7 +78,7 @@ public: | |||
|     bool checked_binding() const { return checked(); } | ||||
|     void set_checked_binding(bool); | ||||
| 
 | ||||
|     bool indeterminate() const { return m_indeterminate; }; | ||||
|     bool indeterminate() const { return m_indeterminate; } | ||||
|     void set_indeterminate(bool); | ||||
| 
 | ||||
|     void did_edit_text_node(Badge<BrowsingContext>); | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ public: | |||
|     virtual ~HTMLLIElement() override; | ||||
| 
 | ||||
|     // https://www.w3.org/TR/html-aria/#el-li
 | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::listitem; }; | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::listitem; } | ||||
| 
 | ||||
| private: | ||||
|     HTMLLIElement(DOM::Document&, DOM::QualifiedName); | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ public: | |||
|     virtual ~HTMLSummaryElement() override; | ||||
| 
 | ||||
|     // https://www.w3.org/TR/html-aria/#el-details
 | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::button; }; | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::button; } | ||||
| 
 | ||||
|     bool is_summary_for_its_parent_details(); | ||||
| 
 | ||||
|  |  | |||
|  | @ -33,18 +33,18 @@ public: | |||
| 
 | ||||
|     Vector<JS::Handle<Navigable>> child_navigables() const; | ||||
| 
 | ||||
|     String const& id() const { return m_id; }; | ||||
|     JS::GCPtr<Navigable> parent() const { return m_parent; }; | ||||
|     String const& id() const { return m_id; } | ||||
|     JS::GCPtr<Navigable> parent() const { return m_parent; } | ||||
| 
 | ||||
|     bool is_closing() const { return m_closing; }; | ||||
|     void set_closing(bool value) { m_closing = value; }; | ||||
|     bool is_closing() const { return m_closing; } | ||||
|     void set_closing(bool value) { m_closing = value; } | ||||
| 
 | ||||
|     bool is_delaying_load_events() const { return m_delaying_load_events; }; | ||||
|     void set_delaying_load_events(bool value) { m_delaying_load_events = value; }; | ||||
|     bool is_delaying_load_events() const { return m_delaying_load_events; } | ||||
|     void set_delaying_load_events(bool value) { m_delaying_load_events = value; } | ||||
| 
 | ||||
|     JS::GCPtr<SessionHistoryEntry> active_session_history_entry() const { return m_active_session_history_entry; }; | ||||
|     JS::GCPtr<SessionHistoryEntry> current_session_history_entry() const { return m_current_session_history_entry; }; | ||||
|     void set_current_session_history_entry(JS::GCPtr<SessionHistoryEntry> entry) { m_current_session_history_entry = entry; }; | ||||
|     JS::GCPtr<SessionHistoryEntry> active_session_history_entry() const { return m_active_session_history_entry; } | ||||
|     JS::GCPtr<SessionHistoryEntry> current_session_history_entry() const { return m_current_session_history_entry; } | ||||
|     void set_current_session_history_entry(JS::GCPtr<SessionHistoryEntry> entry) { m_current_session_history_entry = entry; } | ||||
| 
 | ||||
|     Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& get_session_history_entries() const; | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ JS::NonnullGCPtr<RemoteBrowsingContext> RemoteBrowsingContext::create_a_new_remo | |||
| { | ||||
|     auto browsing_context = Bindings::main_thread_vm().heap().allocate_without_realm<RemoteBrowsingContext>(handle); | ||||
|     return browsing_context; | ||||
| }; | ||||
| } | ||||
| 
 | ||||
| HTML::WindowProxy* RemoteBrowsingContext::window_proxy() | ||||
| { | ||||
|  |  | |||
|  | @ -33,10 +33,10 @@ public: | |||
|         Function<void(JS::NonnullGCPtr<Fetch::Infrastructure::Response>)>) override | ||||
|     { | ||||
|         return {}; | ||||
|     }; | ||||
|     } | ||||
| 
 | ||||
|     virtual String const& window_handle() const override { return m_window_handle; } | ||||
|     virtual void set_window_handle(String handle) override { m_window_handle = handle; }; | ||||
|     virtual void set_window_handle(String handle) override { m_window_handle = handle; } | ||||
| 
 | ||||
| private: | ||||
|     explicit RemoteBrowsingContext(String); | ||||
|  |  | |||
|  | @ -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); | ||||
|  |  | |||
|  | @ -24,11 +24,11 @@ public: | |||
| 
 | ||||
|     bool is_top_level_traversable() const; | ||||
| 
 | ||||
|     int current_session_history_step() const { return m_current_session_history_step; }; | ||||
|     Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& session_history_entries() { return m_session_history_entries; }; | ||||
|     Vector<JS::NonnullGCPtr<SessionHistoryEntry>> const& session_history_entries() const { return m_session_history_entries; }; | ||||
|     bool running_nested_apply_history_step() const { return m_running_nested_apply_history_step; }; | ||||
|     VisibilityState system_visibility_state() const { return m_system_visibility_state; }; | ||||
|     int current_session_history_step() const { return m_current_session_history_step; } | ||||
|     Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& session_history_entries() { return m_session_history_entries; } | ||||
|     Vector<JS::NonnullGCPtr<SessionHistoryEntry>> const& session_history_entries() const { return m_session_history_entries; } | ||||
|     bool running_nested_apply_history_step() const { return m_running_nested_apply_history_step; } | ||||
|     VisibilityState system_visibility_state() const { return m_system_visibility_state; } | ||||
| 
 | ||||
|     struct HistoryObjectLengthAndIndex { | ||||
|         size_t script_history_length; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn