| 1130 | } |
| 1131 | |
| 1132 | bool |
| 1133 | Variable::is_valid_volatile(void) const |
| 1134 | { |
| 1135 | if (is_inside_union_field()) { |
| 1136 | const Variable *uv = get_container_union(); |
| 1137 | assert(uv && "NULL union var!"); |
| 1138 | return uv->is_valid_volatile(); |
| 1139 | } |
| 1140 | |
| 1141 | assert(init && "NULL init expression!"); |
| 1142 | if (!is_const() || init->not_equals(0) || (type->eType != ePointer)) |
| 1143 | return true; |
| 1144 | |
| 1145 | return false; |
| 1146 | } |
| 1147 | |
| 1148 | int |
| 1149 | Variable::output_volatile_address(ostream &out, int indent, const string &fp_string, vector<std::string> &seen_names) const |
nothing calls this directly
no test coverage detected