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

Method get_referenced_ptrs

src/ExpressionVariable.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void
243ExpressionVariable::get_referenced_ptrs(std::vector<const Variable*>& ptrs) const
244{
245 if (var.is_pointer()) {
246 ptrs.push_back(&var);
247 }
248}
249
250bool
251ExpressionVariable::visit_facts(vector<const Fact*>& inputs, CGContext& cg_context) const

Callers

nothing calls this directly

Calls 1

is_pointerMethod · 0.80

Tested by

no test coverage detected