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

Function add_variable_to_set

src/Variable.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131bool add_variable_to_set(vector<const Variable*>& set, const Variable* v)
132{
133 if (!is_variable_in_set(set, v)) {
134 set.push_back(v);
135 return true;
136 }
137 return false;
138}
139
140bool add_variables_to_set(vector<const Variable*>& set, const vector<const Variable*>& new_set)
141{

Callers 7

configureMethod · 0.85
find_union_pointeesMethod · 0.85
add_variables_to_setFunction · 0.85
remove_field_varsFunction · 0.85

Calls 1

is_variable_in_setFunction · 0.85

Tested by

no test coverage detected