Remove unused header from SkSL lexer.

IWYU found that #include <cstddef> was unused.

Change-Id: I063d11eb0a11eb54ce0dd9194ec1aeb0836392ea
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/522437
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
This commit is contained in:
John Stiles 2022-03-18 15:58:02 -04:00 committed by SkCQ
parent 1094004195
commit b8c117ced2
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,6 @@
*****************************************************************************************/
#ifndef SKSL_Lexer
#define SKSL_Lexer
#include <cstddef>
#include <cstdint>
#include <string_view>
namespace SkSL {

View File

@ -20,7 +20,7 @@
* where <pattern> is either a regular expression (e.g [0-9]) or a double-quoted literal string.
*/
static constexpr const char* HEADER =
static constexpr const char HEADER[] =
"/*\n"
" * Copyright 2017 Google Inc.\n"
" *\n"
@ -38,7 +38,6 @@ static void writeH(const DFA& dfa, const char* lexer, const char* token,
out << HEADER;
out << "#ifndef SKSL_" << lexer << "\n";
out << "#define SKSL_" << lexer << "\n";
out << "#include <cstddef>\n";
out << "#include <cstdint>\n";
out << "#include <string_view>\n";
out << "namespace SkSL {\n";