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

Function OutputGlobalVariablesDecls

src/VariableSelector.cpp:1564–1573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562}
1563
1564void
1565OutputGlobalVariablesDecls(std::ostream &out, std::string prefix)
1566{
1567 output_comment_line(out, "--- GLOBAL VARIABLES ---");
1568
1569 bool access_once = CGOptions::access_once();
1570 CGOptions::access_once(false);
1571 OutputVariableDeclList(*VariableSelector::GetGlobalVariables(), out, prefix);
1572 CGOptions::access_once(access_once);
1573}
1574
1575void
1576HashGlobalVariables(std::ostream &out)

Callers 1

OutputGlobalsMethod · 0.85

Calls 2

output_comment_lineFunction · 0.85
OutputVariableDeclListFunction · 0.85

Tested by

no test coverage detected