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

Method OutputSimple

src/StatementAssign.cpp:482–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482void
483StatementAssign::OutputSimple(std::ostream &out) const
484{
485 switch (op) {
486 default:
487 lhs.Output(out);
488 out << " ";
489 output_op(out);
490 out << " ";
491 expr.Output(out);
492 break;
493
494 case ePreIncr:
495 case ePreDecr:
496 output_op(out);
497 lhs.Output(out);
498 break;
499
500 case ePostIncr:
501 case ePostDecr:
502 lhs.Output(out);
503 output_op(out);
504 break;
505 }
506}
507
508/*
509 *

Callers

nothing calls this directly

Calls 1

OutputMethod · 0.45

Tested by

no test coverage detected