| 6270 | } |
| 6271 | |
| 6272 | static bool isContainerSizeChanged(const Token* expr, |
| 6273 | const Token* start, |
| 6274 | const Token* end, |
| 6275 | int indirect, |
| 6276 | const Settings& settings, |
| 6277 | int depth) |
| 6278 | { |
| 6279 | for (const Token *tok = start; tok != end; tok = tok->next()) { |
| 6280 | if (tok->exprId() != expr->exprId() && !isAliasOf(tok, expr)) |
| 6281 | continue; |
| 6282 | if (ValueFlow::isContainerSizeChanged(tok, indirect, settings, depth)) |
| 6283 | return true; |
| 6284 | } |
| 6285 | return false; |
| 6286 | } |
| 6287 | |
| 6288 | static void valueFlowSmartPointer(TokenList &tokenlist, ErrorLogger & errorLogger, const Settings &settings) |
| 6289 | { |
no test coverage detected