Skip to content

Commit ab10903

Browse files
committed
astutils.cpp: added more bailouts in isMutableExpression() [skip ci]
1 parent 3452882 commit ab10903

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/astutils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2458,8 +2458,6 @@ bool isMutableExpression(const Token* tok)
24582458
{
24592459
if (!tok)
24602460
return false;
2461-
if (!tok->exprId())
2462-
return false;
24632461
if (tok->isLiteral() || tok->isKeyword() || tok->isStandardType() || tok->isEnumerator())
24642462
return false;
24652463
if (Token::Match(tok, ",|;|:|]|)|}|::"))

0 commit comments

Comments
 (0)