Accessor renames on lexer (#1134)

This commit is contained in:
Jon Meow
2022-03-15 13:02:44 -07:00
committed by GitHub
parent c6c050ccfc
commit 16c6ba6bd1
11 changed files with 104 additions and 104 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ extern "C" int LLVMFuzzerTestOneInput(const unsigned char* data,
// Lex the input.
auto tokens = TokenizedBuffer::Lex(*source, NullDiagnosticConsumer());
if (tokens.HasErrors()) {
if (tokens.has_errors()) {
return 0;
}
@@ -42,7 +42,7 @@ extern "C" int LLVMFuzzerTestOneInput(const unsigned char* data,
// In the absence of parse errors, we should have exactly as many nodes as
// tokens.
CHECK(tree.Size() == tokens.Size()) << "Unexpected number of tree nodes!";
CHECK(tree.Size() == tokens.size()) << "Unexpected number of tree nodes!";
return 0;
}