mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 16:36:41 +00:00
Accessor renames on lexer (#1134)
This commit is contained in:
1 parent
c6c050ccfc
commit
16c6ba6bd1
11 files changed
+104
-104
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user