| 536 | } |
| 537 | |
| 538 | void ProgramMemoryState::addState(const Token* tok, const ProgramMemory::Map& vars) |
| 539 | { |
| 540 | ProgramMemory local = state; |
| 541 | addVars(local, vars); |
| 542 | fillProgramMemoryFromConditions(local, tok, settings); |
| 543 | ProgramMemory pm; |
| 544 | fillProgramMemoryFromAssignments(pm, tok, settings, local, vars); |
| 545 | local.replace(std::move(pm)); |
| 546 | addVars(local, vars); |
| 547 | replace(std::move(local), tok); |
| 548 | } |
| 549 | |
| 550 | void ProgramMemoryState::assume(const Token* tok, bool b, bool isEmpty) |
| 551 | { |
no test coverage detected