| 1351 | } |
| 1352 | |
| 1353 | static void valueFlowReverse(Token* tok, |
| 1354 | const Token* const endToken, |
| 1355 | const Token* const varToken, |
| 1356 | std::list<ValueFlow::Value> values, |
| 1357 | const TokenList& tokenlist, |
| 1358 | ErrorLogger& errorLogger, |
| 1359 | const Settings& settings, |
| 1360 | SourceLocation loc = SourceLocation::current()) |
| 1361 | { |
| 1362 | for (ValueFlow::Value& v : values) { |
| 1363 | if (settings.debugnormal) |
| 1364 | setSourceLocation(v, loc, tok); |
| 1365 | valueFlowGenericReverse(tok, |
| 1366 | endToken, |
| 1367 | makeReverseAnalyzer(varToken, std::move(v), settings), |
| 1368 | tokenlist, |
| 1369 | errorLogger, |
| 1370 | settings); |
| 1371 | } |
| 1372 | } |
| 1373 | |
| 1374 | // Deprecated |
| 1375 | static void valueFlowReverse(const TokenList& tokenlist, |
no test coverage detected