| 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(); |