| 85 | } |
| 86 | |
| 87 | uint32_t BasicStructureAnnotation::getFieldOffset ( const string & na ) const { |
| 88 | auto it = fields.find(na); |
| 89 | if ( it!=fields.end() ) { |
| 90 | return it->second.offset; |
| 91 | } else { |
| 92 | return -1U; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | TypeDeclPtr BasicStructureAnnotation::makeFieldType ( const string & na, bool isConst ) const { |
| 97 | auto it = fields.find(na); |
no test coverage detected