mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:57:44 +00:00
Everywhere: Remove 'clang-format off' comments that are no longer needed
https://github.com/SerenityOS/serenity/pull/15654#issuecomment-1322554496
This commit is contained in:
parent
d26aabff04
commit
babfc13c84
7 changed files with 1 additions and 21 deletions
|
@ -2540,8 +2540,6 @@ Optional<ECMA262Parser::PropertyEscape> ECMA262Parser::read_unicode_property_esc
|
|||
{
|
||||
consume(TokenType::LeftCurly, Error::InvalidPattern);
|
||||
|
||||
// Note: clang-format is disabled here because it doesn't handle templated lambdas yet.
|
||||
// clang-format off
|
||||
auto read_until = [&]<typename... Ts>(Ts&&... terminators) {
|
||||
auto start_token = m_parser_state.current_token;
|
||||
size_t offset = 0;
|
||||
|
@ -2554,7 +2552,6 @@ Optional<ECMA262Parser::PropertyEscape> ECMA262Parser::read_unicode_property_esc
|
|||
|
||||
return StringView { start_token.value().characters_without_null_termination(), offset };
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
StringView property_type;
|
||||
StringView property_name = read_until("="sv, "}"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue