1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:38: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:
Timothy Flynn 2023-07-07 22:48:11 -04:00 committed by Linus Groh
parent aff81d318b
commit c911781c21
243 changed files with 483 additions and 481 deletions

View file

@ -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);

View file

@ -23,6 +23,6 @@ DeprecatedString format_percentage(auto value, auto total)
"{}.{:02}",
percentage_full_precision / percent_digits_rounding,
percentage_full_precision % percent_digits_rounding);
};
}
}

View file

@ -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; }