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

Method getGcFlags

src/ast/ast_handle.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 int32_t BasicStructureAnnotation::getGcFlags(das_set<Structure *> & dep, das_set<Annotation *> & depA) const {
67 int32_t gcf = 0;
68 for ( auto & it : fields ) {
69 auto & sfield = it.second;
70 if ( sfield.constDecl ) gcf |= sfield.constDecl->gcFlags(dep,depA);
71 if ( sfield.decl ) gcf |= sfield.decl->gcFlags(dep,depA);
72 }
73 return gcf;
74 }
75
76 TypeInfo * BasicStructureAnnotation::getFieldType ( const string & na ) const {
77 updateTypeInfo();

Callers 1

gcFlagsMethod · 0.45

Calls 1

gcFlagsMethod · 0.80

Tested by

no test coverage detected