| 935 | } |
| 936 | |
| 937 | bool |
| 938 | Variable::compatible(const Variable *v) const |
| 939 | { |
| 940 | if (is_volatile() || v->is_volatile()) |
| 941 | return false; |
| 942 | else if (this == v) |
| 943 | return true; |
| 944 | else if (CGOptions::expand_struct()) |
| 945 | return (!v->is_field_var() && !is_field_var()); |
| 946 | else |
| 947 | return false; |
| 948 | } |
| 949 | |
| 950 | void |
| 951 | Variable::hash(std::ostream& out) const |
nothing calls this directly
no test coverage detected