Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Feb 27, 2024
1 parent 50c1f3b commit f912734
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/tokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2844,8 +2844,7 @@ bool Tokenizer::simplifyUsing()
for (Token* tok = list.front(); tok; tok = tok->next()) {
if (!Token::Match(tok, "using ::| %name% ::"))
continue;
Token* const start = tok->next();
Token* end = start;
Token* end = tok->next();
while (end && end->str() != ";")
end = end->next();
if (!end)
Expand Down

0 comments on commit f912734

Please sign in to comment.