Skip to content

Commit

Permalink
Add space
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed May 20, 2024
1 parent 72c0751 commit 42fd14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/astutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ static bool isMutableExpression(const Token* tok)
return false;
if (Token::Match(tok, ",|;|:"))
return false;
if (Token::simpleMatch(tok, "[]"))
if (Token::simpleMatch(tok, "[ ]"))
return false;
if (Token::Match(tok->previous(), "%name% (") && tok->previous()->isKeyword())
return false;
Expand Down

0 comments on commit 42fd14e

Please sign in to comment.