| 283 | } |
| 284 | |
| 285 | void Variables::read(nonneg int varid, const Token* tok) |
| 286 | { |
| 287 | VariableUsage *usage = find(varid); |
| 288 | |
| 289 | if (usage) { |
| 290 | usage->_read = true; |
| 291 | if (tok) |
| 292 | usage->_lastAccess = tok; |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | void Variables::readAliases(nonneg int varid, const Token* tok) |
| 297 | { |
no outgoing calls
no test coverage detected