mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Everywhere: Run clang-format
The following command was used to clang-format these files: clang-format-19 -i $(find . \ -not \( -path "./\.*" -prune \) \ -not \( -path "./Build/*" -prune \) \ -not \( -path "./Toolchain/*" -prune \) \ -type f -name "*.cpp" -o -name "*.mm" -o -name "*.h")
This commit is contained in:
parent
66732d2203
commit
27478ec7d4
Notes:
github-actions[bot]
2024-12-28 13:40:37 +00:00
Author: https://github.com/trflynn89
Commit: 27478ec7d4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3067
57 changed files with 160 additions and 140 deletions
|
@ -48,7 +48,9 @@ public:
|
|||
|
||||
protected:
|
||||
explicit IndexedPropertyStorage(IsSimpleStorage is_simple_storage)
|
||||
: m_is_simple_storage(is_simple_storage == IsSimpleStorage::Yes) {};
|
||||
: m_is_simple_storage(is_simple_storage == IsSimpleStorage::Yes)
|
||||
{
|
||||
}
|
||||
|
||||
private:
|
||||
bool m_is_simple_storage { false };
|
||||
|
@ -57,7 +59,9 @@ private:
|
|||
class SimpleIndexedPropertyStorage final : public IndexedPropertyStorage {
|
||||
public:
|
||||
SimpleIndexedPropertyStorage()
|
||||
: IndexedPropertyStorage(IsSimpleStorage::Yes) {};
|
||||
: IndexedPropertyStorage(IsSimpleStorage::Yes)
|
||||
{
|
||||
}
|
||||
explicit SimpleIndexedPropertyStorage(Vector<Value>&& initial_values);
|
||||
|
||||
virtual bool has_index(u32 index) const override;
|
||||
|
@ -99,7 +103,9 @@ class GenericIndexedPropertyStorage final : public IndexedPropertyStorage {
|
|||
public:
|
||||
explicit GenericIndexedPropertyStorage(SimpleIndexedPropertyStorage&&);
|
||||
explicit GenericIndexedPropertyStorage()
|
||||
: IndexedPropertyStorage(IsSimpleStorage::No) {};
|
||||
: IndexedPropertyStorage(IsSimpleStorage::No)
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool has_index(u32 index) const override;
|
||||
virtual Optional<ValueAndAttributes> get(u32 index) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue