mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +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
|
@ -31,7 +31,7 @@ static double resolve_value_radians(CalculatedStyleValue::CalculationResult::Val
|
|||
[](Number const& number) { return number.value(); },
|
||||
[](Angle const& angle) { return angle.to_radians(); },
|
||||
[](auto const&) { VERIFY_NOT_REACHED(); return 0.0; });
|
||||
};
|
||||
}
|
||||
|
||||
static double resolve_value(CalculatedStyleValue::CalculationResult::Value value, Optional<Length::ResolutionContext const&> context)
|
||||
{
|
||||
|
@ -42,7 +42,7 @@ static double resolve_value(CalculatedStyleValue::CalculationResult::Value value
|
|||
[&context](Length const& length) { return length.to_px(*context).to_double(); },
|
||||
[](Percentage const& percentage) { return percentage.value(); },
|
||||
[](Time const& time) { return time.to_seconds(); });
|
||||
};
|
||||
}
|
||||
|
||||
static Optional<CSSNumericType> add_the_types(Vector<NonnullOwnPtr<CalculationNode>> const& nodes, PropertyID property_id)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ static CalculatedStyleValue::CalculationResult to_resolved_type(CalculatedStyleV
|
|||
}
|
||||
|
||||
VERIFY_NOT_REACHED();
|
||||
};
|
||||
}
|
||||
|
||||
CalculationNode::CalculationNode(Type type)
|
||||
: m_type(type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue