mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -56,7 +56,7 @@ private:
|
|||
};
|
||||
|
||||
Optional<DeclarationType> match_declaration_in_translation_unit();
|
||||
Optional<Parser::DeclarationType> match_class_member(const StringView& class_name);
|
||||
Optional<Parser::DeclarationType> match_class_member(StringView class_name);
|
||||
|
||||
bool match_function_declaration();
|
||||
bool match_comment();
|
||||
|
@ -82,8 +82,8 @@ private:
|
|||
bool match_type();
|
||||
bool match_named_type();
|
||||
bool match_access_specifier();
|
||||
bool match_constructor(const StringView& class_name);
|
||||
bool match_destructor(const StringView& class_name);
|
||||
bool match_constructor(StringView class_name);
|
||||
bool match_destructor(StringView class_name);
|
||||
|
||||
Optional<NonnullRefPtrVector<Parameter>> parse_parameter_list(ASTNode& parent);
|
||||
Optional<Token> consume_whitespace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue