Skip to content

Commit b798e9c

Browse files
committed
Undo
1 parent 638cc97 commit b798e9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/astutils.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,8 +1159,8 @@ bool exprDependsOnThis(const Token* expr, bool onVar, nonneg int depth)
11591159
}
11601160
if (expr->isOperatorKeyword() && !Token::simpleMatch(expr->next()->astParent(), "."))
11611161
return true;
1162-
// if (expr->variable() && expr->variable()->isArgument() && !expr->variable()->type() && expr->variable()->scope()->function && expr->variable()->scope()->function->templateDef)
1163-
// return true;
1162+
if (expr->variable() && expr->variable()->isArgument() && !expr->variable()->type() && expr->variable()->scope()->function && expr->variable()->scope()->function->templateDef)
1163+
return true;
11641164
}
11651165
if (onVar && expr->variable()) {
11661166
const Variable* var = expr->variable();

0 commit comments

Comments
 (0)