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

Method Output

src/StatementReturn.cpp:134–146  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

132 *
133 */
134void
135StatementReturn::Output(std::ostream &out, FactMgr* /*fm*/, int indent) const
136{
137 output_tab(out, indent);
138 // XXX --- Fix this. Outputting two stmts instead of one is bad mojo.
139 if (CGOptions::depth_protect()) {
140 out << "DEPTH--;" << endl;
141 }
142 out << "return ";
143 var.Output(out);
144 out << ";";
145 outputln(out);
146}
147
148///////////////////////////////////////////////////////////////////////////////
149

Callers

nothing calls this directly

Calls 2

output_tabFunction · 0.85
outputlnFunction · 0.85

Tested by

no test coverage detected