mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes
This is basically just for consistency, it's quite strange to see multiple AK container types next to each other, some with and some without the namespace prefix - we're 'using AK::Foo;' a lot and should leverage that. :^)
This commit is contained in:
parent
be9df404fd
commit
e265054c12
73 changed files with 111 additions and 110 deletions
|
@ -32,7 +32,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto gemini = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto gemini = StringView(static_cast<const unsigned char*>(data), size);
|
||||
Gemini::Document::parse(gemini, {});
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto js = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto js = StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto lexer = JS::Lexer(js);
|
||||
auto parser = JS::Parser(lexer);
|
||||
auto program = parser.parse_program();
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto markdown = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto markdown = StringView(static_cast<const unsigned char*>(data), size);
|
||||
Markdown::Document::parse(markdown);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto pattern = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto pattern = StringView(static_cast<const unsigned char*>(data), size);
|
||||
[[maybe_unused]] auto re = Regex<ECMA262>(pattern);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto pattern = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto pattern = StringView(static_cast<const unsigned char*>(data), size);
|
||||
[[maybe_unused]] auto re = Regex<PosixExtended>(pattern);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
||||
{
|
||||
auto source = AK::StringView(static_cast<const unsigned char*>(data), size);
|
||||
auto source = StringView(static_cast<const unsigned char*>(data), size);
|
||||
Shell::Parser parser(source);
|
||||
parser.parse();
|
||||
return 0;
|
||||
|
|
|
@ -232,7 +232,7 @@ int main(int, char**)
|
|||
|
||||
int result = 0;
|
||||
|
||||
auto js = AK::StringView(static_cast<const unsigned char*>(data_buffer.data()), script_size);
|
||||
auto js = StringView(static_cast<const unsigned char*>(data_buffer.data()), script_size);
|
||||
|
||||
auto lexer = JS::Lexer(js);
|
||||
auto parser = JS::Parser(lexer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue