| 422 | } |
| 423 | |
| 424 | std::optional<const TempVariable> |
| 425 | TempVariableRef::GetTempVariable(Macro *macro) const |
| 426 | { |
| 427 | if (!macro) { |
| 428 | return {}; |
| 429 | } |
| 430 | auto segment = _segment.lock(); |
| 431 | if (!segment) { |
| 432 | return {}; |
| 433 | } |
| 434 | |
| 435 | return macro->GetTempVar(segment.get(), _id); |
| 436 | } |
| 437 | |
| 438 | bool TempVariableRef::operator==(const TempVariableRef &other) const |
| 439 | { |
no test coverage detected