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

Method use_var

src/ExpressionFuncall.cpp:216–226  ·  view source on GitHub ↗

* return if a variable is referenced in this expression */

Source from the content-addressed store, hash-verified

214 * return if a variable is referenced in this expression
215 */
216bool
217ExpressionFuncall::use_var(const Variable* v) const
218{
219 size_t i;
220 for (i=0; i<invoke.param_value.size(); i++) {
221 if (invoke.param_value[i]->use_var(v)) {
222 return true;
223 }
224 }
225 return false;
226}
227
228/*
229 *

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected