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

Method is_visible_local

src/ArrayVariable.cpp:434–445  ·  view source on GitHub ↗

-------------------------------------------------------------

Source from the content-addressed store, hash-verified

432
433// -------------------------------------------------------------
434bool
435ArrayVariable::is_visible_local(const Block* blk) const
436{
437 const Block* b = blk;
438 while (b) {
439 if (b == parent) {
440 return true;
441 }
442 b = b->parent;
443 }
444 return false;
445}
446
447bool
448ArrayVariable::no_loop_initializer(void) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected