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

Function OutputVariableDeclList

src/Variable.cpp:924–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922}
923
924void
925OutputVariableDeclList(const vector<Variable*> &var, std::ostream &out, std::string prefix, int indent)
926{
927 // have to use iterator instead of map because we need indent as paramter
928 for (size_t i=0; i<var.size(); i++) {
929 output_tab(out, indent);
930 out << prefix;
931 var[i]->OutputDecl(out);
932 out << ";";
933 outputln(out);
934 }
935}
936
937bool
938Variable::compatible(const Variable *v) const

Callers 1

Calls 4

output_tabFunction · 0.85
outputlnFunction · 0.85
sizeMethod · 0.80
OutputDeclMethod · 0.45

Tested by

no test coverage detected