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

Method OutputInit

src/ExtensionMgr.cpp:140–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void
141ExtensionMgr::OutputInit(std::ostream &out)
142{
143 if (ExtensionMgr::extension_ == NULL) {
144 if (CGOptions::accept_argc()) {
145 out << "int main (int argc, char* argv[])" << endl;
146 }
147 else {
148 out << "int main (void)" << endl;
149 }
150 out << "{" << endl;
151 }
152 else {
153 ExtensionMgr::extension_->OutputInit(out);
154 }
155}
156
157void
158ExtensionMgr::OutputFirstFunInvocation(std::ostream &out, FunctionInvocation *invoke)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected