mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 00:55:06 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -117,7 +117,7 @@ Value& Tuple::operator[](String const& name)
|
|||
return (*this)[index.value()];
|
||||
}
|
||||
|
||||
void Tuple::append(const Value& value)
|
||||
void Tuple::append(Value const& value)
|
||||
{
|
||||
VERIFY(descriptor()->size() >= size());
|
||||
if (descriptor()->size() == size()) {
|
||||
|
@ -198,7 +198,7 @@ Vector<String> Tuple::to_string_vector() const
|
|||
return ret;
|
||||
}
|
||||
|
||||
void Tuple::copy_from(const Tuple& other)
|
||||
void Tuple::copy_from(Tuple const& other)
|
||||
{
|
||||
if (*m_descriptor != *other.m_descriptor) {
|
||||
m_descriptor->clear();
|
||||
|
@ -213,7 +213,7 @@ void Tuple::copy_from(const Tuple& other)
|
|||
m_pointer = other.pointer();
|
||||
}
|
||||
|
||||
int Tuple::compare(const Tuple& other) const
|
||||
int Tuple::compare(Tuple const& other) const
|
||||
{
|
||||
auto num_values = min(m_data.size(), other.m_data.size());
|
||||
VERIFY(num_values > 0);
|
||||
|
@ -228,7 +228,7 @@ int Tuple::compare(const Tuple& other) const
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Tuple::match(const Tuple& other) const
|
||||
int Tuple::match(Tuple const& other) const
|
||||
{
|
||||
auto other_index = 0u;
|
||||
for (auto& part : *other.descriptor()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue