| 5611 | } |
| 5612 | |
| 5613 | void TParseContext::structArrayCheck(const TSourceLoc& /*loc*/, const TType& type) |
| 5614 | { |
| 5615 | const TTypeList& structure = *type.getStruct(); |
| 5616 | for (int m = 0; m < (int)structure.size(); ++m) { |
| 5617 | const TType& member = *structure[m].type; |
| 5618 | if (member.isArray()) |
| 5619 | arraySizeRequiredCheck(structure[m].loc, *member.getArraySizes()); |
| 5620 | } |
| 5621 | } |
| 5622 | |
| 5623 | void TParseContext::arraySizesCheck(const TSourceLoc& loc, const TQualifier& qualifier, TArraySizes* arraySizes, |
| 5624 | const TIntermTyped* initializer, bool lastMember) |
no test coverage detected