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

Method output_with_indices

src/ArrayVariable.cpp:620–630  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

618
619// --------------------------------------------------------------
620void
621ArrayVariable::output_with_indices(std::ostream &out, const std::vector<const Variable*>& cvs) const
622{
623 size_t i;
624 out << get_actual_name();
625 for (i=0; i<get_dimension(); i++) {
626 out << "[";
627 cvs[i]->Output(out);
628 out << "]";
629 }
630}
631
632void
633ArrayVariable::output_checksum_with_indices(std::ostream &out,

Callers 1

OutputMethod · 0.80

Calls 1

OutputMethod · 0.45

Tested by

no test coverage detected