We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isMutableExpression()
1 parent 3452882 commit ab10903Copy full SHA for ab10903
1 file changed
lib/astutils.cpp
@@ -2458,8 +2458,6 @@ bool isMutableExpression(const Token* tok)
2458
{
2459
if (!tok)
2460
return false;
2461
- if (!tok->exprId())
2462
- return false;
2463
if (tok->isLiteral() || tok->isKeyword() || tok->isStandardType() || tok->isEnumerator())
2464
2465
if (Token::Match(tok, ",|;|:|]|)|}|::"))
0 commit comments