| 957 | } |
| 958 | |
| 959 | const ValueFlow::Value* getValue(const Token* tok) const override { |
| 960 | if (tok->varId() == 0) |
| 961 | return nullptr; |
| 962 | auto it = values.find(tok->varId()); |
| 963 | if (it == values.end()) |
| 964 | return nullptr; |
| 965 | return &it->second; |
| 966 | } |
| 967 | ValueFlow::Value* getValue(const Token* tok) override { |
| 968 | if (tok->varId() == 0) |
| 969 | return nullptr; |