1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibRegex: Switch to east-const style

This commit is contained in:
Ali Mohammad Pur 2021-07-23 20:25:14 +04:30 committed by Ali Mohammad Pur
parent c8b2199251
commit 36bfc912fc
10 changed files with 170 additions and 170 deletions

View file

@ -12,7 +12,7 @@
namespace regex {
const char* Token::name(const TokenType type)
char const* Token::name(TokenType const type)
{
switch (type) {
#define __ENUMERATE_REGEX_TOKEN(x) \
@ -26,12 +26,12 @@ const char* Token::name(const TokenType type)
}
}
const char* Token::name() const
char const* Token::name() const
{
return name(m_type);
}
Lexer::Lexer(const StringView source)
Lexer::Lexer(StringView const source)
: m_source(source)
{
}