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

Method get_all_array_vars

src/VariableSelector.cpp:719–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717}
718
719void
720VariableSelector::get_all_array_vars(vector<const Variable*> &array_vars)
721{
722 vector<Variable*> vars = GlobalList;
723 for (size_t i=0; i<vars.size(); i++) {
724 if (vars[i]->isArray) {
725 array_vars.push_back(vars[i]);
726 }
727 }
728}
729
730void
731VariableSelector::get_all_local_vars(const Block *b, vector<const Variable*> &vars)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected