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

Method get_container_union

src/Variable.cpp:214–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214const Variable*
215Variable::get_container_union(void) const
216{
217 if (type == NULL) return NULL;
218 const Variable* p = this;
219 for (; p && p->type->eType != eUnion; p = p->field_var_of)
220 ;
221 return p;
222}
223
224/*
225 * examples: array[0] "loose matches" array[1]; array[3] "loose matches" array[x].f1...

Callers 5

find_union_pointeesMethod · 0.80
loose_matchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected