fix: rename shadowed variables from -Wshadow warnings and apply some useful clang-tidy warnings

This commit is contained in:
Amaan Qureshi 2023-07-04 00:43:58 -04:00
parent 9e99789e4c
commit 13f6ec2b0c
No known key found for this signature in database
GPG key ID: E67890ADC4227273
15 changed files with 190 additions and 190 deletions

View file

@ -209,9 +209,9 @@ static void ts_lexer__advance(TSLexer *_self, bool skip) {
if (!self->chunk) return;
if (skip) {
LOG("skip", self->data.lookahead);
LOG("skip", self->data.lookahead)
} else {
LOG("consume", self->data.lookahead);
LOG("consume", self->data.lookahead)
}
ts_lexer__do_advance(self, skip);