Lines Matching refs:identifierLocation
1614 const TSourceLoc &identifierLocation) in nonEmptyDeclarationErrorCheck() argument
1627 error(identifierLocation, "cannot be used with a structure", in nonEmptyDeclarationErrorCheck()
1635 error(identifierLocation, in nonEmptyDeclarationErrorCheck()
1647 !checkIsNotOpaqueType(identifierLocation, publicType.typeSpecifierNonArray, reason.c_str())) in nonEmptyDeclarationErrorCheck()
1656 error(identifierLocation, "cannot be used with a yuvCscStandardEXT", in nonEmptyDeclarationErrorCheck()
1668 checkUniformLocationInRange(identifierLocation, type.getLocationCount(), in nonEmptyDeclarationErrorCheck()
1680 checkAttributeLocationInRange(identifierLocation, type.getLocationCount(), in nonEmptyDeclarationErrorCheck()
1700 error(identifierLocation, in nonEmptyDeclarationErrorCheck()
1712 error(identifierLocation, in nonEmptyDeclarationErrorCheck()
1724 error(identifierLocation, in nonEmptyDeclarationErrorCheck()
1731 error(identifierLocation, "layout qualifier", "No image internal format specified"); in nonEmptyDeclarationErrorCheck()
1734 error(identifierLocation, "layout qualifier", "unrecognized token"); in nonEmptyDeclarationErrorCheck()
1748 error(identifierLocation, "layout qualifier", in nonEmptyDeclarationErrorCheck()
1758 checkInternalFormatIsNotSpecified(identifierLocation, layoutQualifier.imageInternalFormat); in nonEmptyDeclarationErrorCheck()
1759 checkMemoryQualifierIsNotSpecified(publicType.memoryQualifier, identifierLocation); in nonEmptyDeclarationErrorCheck()
1764 atomicCounterQualifierErrorCheck(publicType, identifierLocation); in nonEmptyDeclarationErrorCheck()
1768 checkOffsetIsNotSpecified(identifierLocation, layoutQualifier.offset); in nonEmptyDeclarationErrorCheck()
1772 void TParseContext::checkBindingIsValid(const TSourceLoc &identifierLocation, const TType &type) in checkBindingIsValid() argument
1783 checkImageBindingIsValid(identifierLocation, layoutQualifier.binding, in checkBindingIsValid()
1788 checkSamplerBindingIsValid(identifierLocation, layoutQualifier.binding, in checkBindingIsValid()
1793 checkAtomicCounterBindingIsValid(identifierLocation, layoutQualifier.binding); in checkBindingIsValid()
1798 checkBindingIsNotSpecified(identifierLocation, layoutQualifier.binding); in checkBindingIsValid()
2935 const TSourceLoc &identifierLocation, in parseSingleArrayDeclaration() argument
2943 identifierLocation); in parseSingleArrayDeclaration()
2945 nonEmptyDeclarationErrorCheck(elementType, identifierLocation); in parseSingleArrayDeclaration()
2957 checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, arrayType); in parseSingleArrayDeclaration()
2961 checkAtomicCounterOffsetDoesNotOverlap(false, identifierLocation, arrayType); in parseSingleArrayDeclaration()
2963 checkAtomicCounterOffsetAlignment(identifierLocation, *arrayType); in parseSingleArrayDeclaration()
2967 declaration->setLine(identifierLocation); in parseSingleArrayDeclaration()
2970 if (declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseSingleArrayDeclaration()
2973 symbol->setLine(identifierLocation); in parseSingleArrayDeclaration()
2981 const TSourceLoc &identifierLocation, in parseSingleInitDeclaration() argument
2989 identifierLocation); in parseSingleInitDeclaration()
2991 nonEmptyDeclarationErrorCheck(publicType, identifierLocation); in parseSingleInitDeclaration()
2994 declaration->setLine(identifierLocation); in parseSingleInitDeclaration()
2998 if (executeInitializer(identifierLocation, identifier, type, initializer, &initNode)) in parseSingleInitDeclaration()
3019 const TSourceLoc &identifierLocation, in parseSingleArrayInitDeclaration() argument
3029 identifierLocation); in parseSingleArrayInitDeclaration()
3031 nonEmptyDeclarationErrorCheck(elementType, identifierLocation); in parseSingleArrayInitDeclaration()
3039 declaration->setLine(identifierLocation); in parseSingleArrayInitDeclaration()
3043 if (executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseSingleArrayInitDeclaration()
3112 const TSourceLoc &identifierLocation, in parseDeclarator() argument
3120 nonEmptyDeclarationErrorCheck(publicType, identifierLocation); in parseDeclarator()
3124 checkDeclaratorLocationIsNotSpecified(identifierLocation, publicType); in parseDeclarator()
3128 checkGeometryShaderInputAndSetArraySize(identifierLocation, identifier, type); in parseDeclarator()
3129 checkTessellationShaderUnsizedArraysAndSetSize(identifierLocation, identifier, type); in parseDeclarator()
3131 checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, type); in parseDeclarator()
3135 checkAtomicCounterOffsetDoesNotOverlap(true, identifierLocation, type); in parseDeclarator()
3137 checkAtomicCounterOffsetAlignment(identifierLocation, *type); in parseDeclarator()
3141 if (declareVariable(identifierLocation, identifier, type, &variable)) in parseDeclarator()
3144 symbol->setLine(identifierLocation); in parseDeclarator()
3150 const TSourceLoc &identifierLocation, in parseArrayDeclarator() argument
3160 nonEmptyDeclarationErrorCheck(elementType, identifierLocation); in parseArrayDeclarator()
3164 checkDeclaratorLocationIsNotSpecified(identifierLocation, elementType); in parseArrayDeclarator()
3171 checkGeometryShaderInputAndSetArraySize(identifierLocation, identifier, arrayType); in parseArrayDeclarator()
3172 checkTessellationShaderUnsizedArraysAndSetSize(identifierLocation, identifier, arrayType); in parseArrayDeclarator()
3174 checkCanBeDeclaredWithoutInitializer(identifierLocation, identifier, arrayType); in parseArrayDeclarator()
3178 checkAtomicCounterOffsetDoesNotOverlap(true, identifierLocation, arrayType); in parseArrayDeclarator()
3180 checkAtomicCounterOffsetAlignment(identifierLocation, *arrayType); in parseArrayDeclarator()
3184 if (declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseArrayDeclarator()
3187 symbol->setLine(identifierLocation); in parseArrayDeclarator()
3194 const TSourceLoc &identifierLocation, in parseInitDeclarator() argument
3204 nonEmptyDeclarationErrorCheck(publicType, identifierLocation); in parseInitDeclarator()
3208 checkDeclaratorLocationIsNotSpecified(identifierLocation, publicType); in parseInitDeclarator()
3212 if (executeInitializer(identifierLocation, identifier, type, initializer, &initNode)) in parseInitDeclarator()
3225 const TSourceLoc &identifierLocation, in parseArrayInitDeclarator() argument
3237 nonEmptyDeclarationErrorCheck(elementType, identifierLocation); in parseArrayInitDeclarator()
3241 checkDeclaratorLocationIsNotSpecified(identifierLocation, elementType); in parseArrayInitDeclarator()
3250 if (executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseArrayInitDeclarator()