------------------------------------------------------------- * generate a new variable and store into AllVars */
| 162 | * generate a new variable and store into AllVars |
| 163 | */ |
| 164 | Variable * |
| 165 | VariableSelector::new_variable(const std::string &name, const Type *type, const Expression* init, const CVQualifiers* qfer) |
| 166 | { |
| 167 | Variable *var = Variable::CreateVariable(name, type, init, qfer); |
| 168 | ERROR_GUARD(NULL); |
| 169 | AllVars.push_back(var); |
| 170 | return var; |
| 171 | } |
| 172 | |
| 173 | /* |
| 174 | *expand each struct/union field to a single variable |
nothing calls this directly
no outgoing calls
no test coverage detected