bool ScopeDsymbol::hasStaticCtorOrDtor() { if (members) { for (size_t i = 0; i < members->dim; i++) { Dsymbol *member = (*members)[i]; if (member->hasStaticCtorOrDtor()) return TRUE; } } return FALSE; }
bool AttribDeclaration::hasStaticCtorOrDtor() { Dsymbols *d = include(NULL, NULL); if (d) { for (size_t i = 0; i < d->dim; i++) { Dsymbol *s = (*d)[i]; if (s->hasStaticCtorOrDtor()) return true; } } return false; }