diff options
author | Linus Groh <mail@linusgroh.de> | 2021-02-25 21:10:47 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-26 16:59:56 +0100 |
commit | e265054c12a4fb596b26789e18f342711cf3ef95 (patch) | |
tree | 6539a9026bea3294693a9ae932b3528b3761d695 /Meta/Lagom | |
parent | be9df404fd180e1b3cab0c1bddce1f589de8e9f0 (diff) | |
download | serenity-e265054c12a4fb596b26789e18f342711cf3ef95.zip |
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. :^)
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzGemini.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzJs.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzMarkdown.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzRegexECMA262.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzRegexPosixExtended.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzShell.cpp | 2 | ||||
-rw-r--r-- | Meta/Lagom/Fuzzers/FuzzilliJs.cpp | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzGemini.cpp b/Meta/Lagom/Fuzzers/FuzzGemini.cpp index 0d0a4b29e8..826828d376 100644 --- a/Meta/Lagom/Fuzzers/FuzzGemini.cpp +++ b/Meta/Lagom/Fuzzers/FuzzGemini.cpp @@ -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; } diff --git a/Meta/Lagom/Fuzzers/FuzzJs.cpp b/Meta/Lagom/Fuzzers/FuzzJs.cpp index 57c20e4f8c..9adf655b47 100644 --- a/Meta/Lagom/Fuzzers/FuzzJs.cpp +++ b/Meta/Lagom/Fuzzers/FuzzJs.cpp @@ -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(); diff --git a/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp b/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp index bfeaeb564e..ea32e61775 100644 --- a/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp +++ b/Meta/Lagom/Fuzzers/FuzzMarkdown.cpp @@ -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; } diff --git a/Meta/Lagom/Fuzzers/FuzzRegexECMA262.cpp b/Meta/Lagom/Fuzzers/FuzzRegexECMA262.cpp index fdf7586cf4..18a96e44ac 100644 --- a/Meta/Lagom/Fuzzers/FuzzRegexECMA262.cpp +++ b/Meta/Lagom/Fuzzers/FuzzRegexECMA262.cpp @@ -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; } diff --git a/Meta/Lagom/Fuzzers/FuzzRegexPosixExtended.cpp b/Meta/Lagom/Fuzzers/FuzzRegexPosixExtended.cpp index e41e2162da..131f99f33d 100644 --- a/Meta/Lagom/Fuzzers/FuzzRegexPosixExtended.cpp +++ b/Meta/Lagom/Fuzzers/FuzzRegexPosixExtended.cpp @@ -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; } diff --git a/Meta/Lagom/Fuzzers/FuzzShell.cpp b/Meta/Lagom/Fuzzers/FuzzShell.cpp index abb02c2f68..d762a63cf1 100644 --- a/Meta/Lagom/Fuzzers/FuzzShell.cpp +++ b/Meta/Lagom/Fuzzers/FuzzShell.cpp @@ -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; diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp index a23ac72225..399925b599 100644 --- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp +++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp @@ -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); |