1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-28 21:02:07 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -809,7 +809,7 @@ RefPtr<Expression> Parser::parse_between_expression(NonnullRefPtr<Expression> ex
return create_ast_node<ErrorExpression>();
}
const auto& binary_expression = static_cast<const BinaryOperatorExpression&>(*nested);
auto const& binary_expression = static_cast<BinaryOperatorExpression const&>(*nested);
if (binary_expression.type() != BinaryOperator::And) {
expected("AND Expression");
return create_ast_node<ErrorExpression>();
@ -1030,7 +1030,7 @@ NonnullRefPtr<OrderingTerm> Parser::parse_ordering_term()
String collation_name;
if (is<CollateExpression>(*expression)) {
const auto& collate = static_cast<const CollateExpression&>(*expression);
auto const& collate = static_cast<CollateExpression const&>(*expression);
collation_name = collate.collation_name();
expression = collate.expression();
} else if (consume_if(TokenType::Collate)) {