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

Method indented_output

src/FunctionInvocationUser.cpp:452–471  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

450 *
451 */
452void
453FunctionInvocationUser::indented_output(std::ostream &out, int indent) const
454{
455 if (has_simple_params()) {
456 output_tab(out, indent);
457 Output(out);
458 return;
459 }
460 output_tab(out, indent);
461 out << func->name;
462 outputln(out);
463 output_open_encloser("(", out, indent);
464 size_t i;
465 for (i=0; i<param_value.size(); i++) {
466 if (i > 0) outputln(out);
467 param_value[i]->indented_output(out, indent);
468 out << ",";
469 }
470 output_close_encloser(")", out, indent);
471}
472///////////////////////////////////////////////////////////////////////////////
473
474// Local Variables:

Callers

nothing calls this directly

Calls 5

output_tabFunction · 0.85
outputlnFunction · 0.85
output_open_encloserFunction · 0.85
output_close_encloserFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected