* a struct variable "matches" it's field variable */
| 243 | * a struct variable "matches" it's field variable |
| 244 | */ |
| 245 | bool |
| 246 | Variable::match(const Variable* v) const |
| 247 | { |
| 248 | if (type && v->type && type->is_aggregate()) { |
| 249 | return (this == v) || has_field_var(v); |
| 250 | } |
| 251 | return this == v; |
| 252 | } |
| 253 | |
| 254 | int |
| 255 | Variable::get_seq_num(void) const |
no test coverage detected