| 2339 | } |
| 2340 | |
| 2341 | bool isVariableChangedByFunctionCall(const Token *tok, int indirect, nonneg int varid, const Settings &settings, bool *inconclusive) |
| 2342 | { |
| 2343 | if (!tok) |
| 2344 | return false; |
| 2345 | if (tok->varId() == varid) |
| 2346 | return isVariableChangedByFunctionCall(tok, indirect, settings, inconclusive); |
| 2347 | return isVariableChangedByFunctionCall(tok->astOperand1(), indirect, varid, settings, inconclusive) || |
| 2348 | isVariableChangedByFunctionCall(tok->astOperand2(), indirect, varid, settings, inconclusive); |
| 2349 | } |
| 2350 | |
| 2351 | bool isScopeBracket(const Token* tok) |
| 2352 | { |