* */
| 525 | * |
| 526 | */ |
| 527 | void |
| 528 | Function::OutputHeader(std::ostream &out) |
| 529 | { |
| 530 | if (!CGOptions::return_structs() && return_type) |
| 531 | assert(return_type->eType != eStruct); |
| 532 | if (!CGOptions::return_unions() && return_type) |
| 533 | assert(return_type->eType != eUnion); |
| 534 | if (is_inlined) |
| 535 | out << "inline "; |
| 536 | // force functions to be static if necessary |
| 537 | if (CGOptions::force_globals_static()) { |
| 538 | out << "static "; |
| 539 | } |
| 540 | rv->qfer.output_qualified_type(return_type, out); |
| 541 | out << " " << get_prefixed_name(name) << "("; |
| 542 | OutputFormalParamList( out ); |
| 543 | out << ")"; |
| 544 | } |
| 545 | |
| 546 | /* |
| 547 | * |
no test coverage detected