| 6422 | } |
| 6423 | |
| 6424 | void TParseContext::referenceCheck(const TSourceLoc& loc, const TType& type, const char* op) |
| 6425 | { |
| 6426 | if (containsFieldWithBasicType(type, EbtReference)) |
| 6427 | error(loc, "can't use with reference types", op, ""); |
| 6428 | } |
| 6429 | |
| 6430 | void TParseContext::storage16BitAssignmentCheck(const TSourceLoc& loc, const TType& type, const char* op) |
| 6431 | { |