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:
parent
c8b2199251
commit
36bfc912fc
10 changed files with 170 additions and 170 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue