| 1700 | } |
| 1701 | |
| 1702 | const Variable* ValueFlow::getLifetimeVariable(const Token* tok, ErrorPath& errorPath, const Settings& settings, bool* addressOf) |
| 1703 | { |
| 1704 | const Token* tok2 = getLifetimeToken(tok, errorPath, settings, addressOf); |
| 1705 | if (tok2 && tok2->variable()) |
| 1706 | return tok2->variable(); |
| 1707 | return nullptr; |
| 1708 | } |
| 1709 | |
| 1710 | const Variable* ValueFlow::getLifetimeVariable(const Token* tok, const Settings& settings) |
| 1711 | { |
nothing calls this directly
no test coverage detected