* */
| 488 | * |
| 489 | */ |
| 490 | static int |
| 491 | OutputFormalParam(Variable *var, std::ostream *pOut) |
| 492 | { |
| 493 | std::ostream &out = *pOut; |
| 494 | if ( !param_first ) out << ", "; |
| 495 | param_first = false; |
| 496 | //var->type->Output( out ); |
| 497 | if (!CGOptions::arg_structs() && var->type) |
| 498 | assert(var->type->eType != eStruct); |
| 499 | if (!CGOptions::arg_unions() && var->type) |
| 500 | assert(var->type->eType != eUnion); |
| 501 | |
| 502 | var->output_qualified_type(out); |
| 503 | out << " " << var->name; |
| 504 | return 0; |
| 505 | } |
| 506 | |
| 507 | /* |
| 508 | * |
nothing calls this directly
no test coverage detected