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

Function OutputGlobalVariables

src/VariableSelector.cpp:1552–1562  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

1550
1551// --------------------------------------------------------------
1552void
1553OutputGlobalVariables(std::ostream &out)
1554{
1555 output_comment_line(out, "--- GLOBAL VARIABLES ---");
1556 vector<Variable *>& vars = *(VariableSelector::GetGlobalVariables());
1557 bool access_once = CGOptions::access_once();
1558
1559 CGOptions::access_once(false);
1560 OutputVariableList(vars, out);
1561 CGOptions::access_once(access_once);
1562}
1563
1564void
1565OutputGlobalVariablesDecls(std::ostream &out, std::string prefix)

Callers 2

OutputMethod · 0.85
OutputMethod · 0.85

Calls 2

output_comment_lineFunction · 0.85
OutputVariableListFunction · 0.85

Tested by

no test coverage detected