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

Function MapVariableList

src/Variable.cpp:841–846  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

839
840// --------------------------------------------------------------
841void
842MapVariableList(const vector<Variable*> &var, std::ostream &out,
843 int (*func)(Variable *var, std::ostream *pOut))
844{
845 for_each(var.begin(), var.end(), std::bind2nd(std::ptr_fun(func), &out));
846}
847
848// --------------------------------------------------------------
849void

Callers 1

HashGlobalVariablesFunction · 0.85

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected