| 222 | } |
| 223 | |
| 224 | int |
| 225 | ReducerOutputMgr::output_func_header(const Function* f, std::ostream& out) |
| 226 | { |
| 227 | // output function header |
| 228 | out << "static "; |
| 229 | f->rv->qfer.output_qualified_type(f->return_type, out); |
| 230 | out << " " << f->name << "("; |
| 231 | size_t i; |
| 232 | bool first = true; |
| 233 | for (i=0; i<f->param.size(); i++) { |
| 234 | const Variable* var = f->param[i]; |
| 235 | if (!reducer->is_param_dropped(f, i)) { |
| 236 | if (!first) { |
| 237 | out << ", "; |
| 238 | } |
| 239 | var->output_qualified_type(out); |
| 240 | out << " " << var->name; |
| 241 | first = false; |
| 242 | } |
| 243 | } |
| 244 | out << ")"; |
| 245 | return 0; |
| 246 | } |
| 247 | |
| 248 | void |
| 249 | ReducerOutputMgr::output_crc_lines(std::ostream& out) |
nothing calls this directly
no test coverage detected