MCPcopy Create free account
hub / github.com/csmith-project/csmith / OutputFormalParam

Function OutputFormalParam

src/Function.cpp:490–505  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

488 *
489 */
490static int
491OutputFormalParam(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 *

Callers

nothing calls this directly

Calls 1

output_qualified_typeMethod · 0.45

Tested by

no test coverage detected