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

Method is_virtual

src/Variable.cpp:277–287  ·  view source on GitHub ↗

* return if this is the field of an pre-itemized array member */

Source from the content-addressed store, hash-verified

275 * return if this is the field of an pre-itemized array member
276 */
277bool
278Variable::is_virtual(void) const
279{
280 if (field_var_of) {
281 return field_var_of->is_virtual();
282 }
283 if (isArray) {
284 return ((const ArrayVariable*)this)->collective==0;
285 }
286 return false;
287}
288
289///////////////////////////////////////////////////////////////////////////////
290 /* check if field variables exists in this struct

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected