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

Method get_top_container

src/Variable.cpp:317–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317const Variable*
318Variable::get_top_container(void) const
319{
320 const Variable* v = this;
321 for (; v && v->field_var_of; v = v->field_var_of) {
322 /* Empty */
323 }
324 return v;
325}
326
327int
328Variable::get_field_id(void) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected