MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / hasNonTrivialCtor

Method hasNonTrivialCtor

src/ast/ast.cpp:605–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603 }
604
605 bool Structure::hasNonTrivialCtor(das_set<Structure *> & dep) const { // &&
606 for ( const auto & fd : fields ) {
607 if ( fd.type && fd.type->hasNonTrivialCtor(dep) ) {
608 return true;
609 }
610 }
611 return false;
612 }
613
614 bool Structure::hasNonTrivialDtor(das_set<Structure *> & dep) const { // &&
615 for ( const auto & fd : fields ) {

Callers 6

visitGlobalLetMethod · 0.45
visitMethod · 0.45
visitLetMethod · 0.45
visitLetInitMethod · 0.45
isCtorInitializedMethod · 0.45
constructMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected