Lines Matching refs:identifierLocation
702 …t::singleDeclarationErrorCheck(const TPublicType &publicType, const TSourceLoc &identifierLocation) in singleDeclarationErrorCheck() argument
713 error(identifierLocation, "cannot be used with a structure", in singleDeclarationErrorCheck()
721 if(publicType.qualifier != EvqUniform && samplerErrorCheck(identifierLocation, publicType, in singleDeclarationErrorCheck()
732 …error(identifierLocation, "layout qualifier", getMatrixPackingString(layoutQualifier.matrixPacking… in singleDeclarationErrorCheck()
739 error(identifierLocation, "layout qualifier", getBlockStorageString(layoutQualifier.blockStorage), in singleDeclarationErrorCheck()
745 layoutLocationErrorCheck(identifierLocation, publicType.layoutQualifier)) in singleDeclarationErrorCheck()
1477 const TSourceLoc &identifierLocation, in parseSingleArrayDeclaration() argument
1484 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleArrayDeclaration()
1487 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseSingleArrayDeclaration()
1498 if(arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseSingleArrayDeclaration()
1507 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseSingleArrayDeclaration()
1510 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseSingleArrayDeclaration()
1514 return intermediate.makeAggregate(symbol, identifierLocation); in parseSingleArrayDeclaration()
1518 const TSourceLoc &identifierLocation, in parseSingleInitDeclaration() argument
1525 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleInitDeclaration()
1529 if(!executeInitializer(identifierLocation, identifier, publicType, initializer, &intermNode)) in parseSingleInitDeclaration()
1544 const TSourceLoc &identifierLocation, in parseSingleArrayInitDeclaration() argument
1553 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleArrayInitDeclaration()
1565 if(indexExpression != nullptr && arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseSingleArrayInitDeclaration()
1575 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseSingleArrayInitDeclaration()
1626 const TSourceLoc &identifierLocation, const TString &identifier) in parseDeclarator() argument
1631 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseDeclarator()
1636 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseDeclarator()
1639 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseDeclarator()
1643 if(!declareVariable(identifierLocation, identifier, TType(publicType), &variable)) in parseDeclarator()
1646 …ntermSymbol *symbol = intermediate.addSymbol(0, identifier, TType(publicType), identifierLocation); in parseDeclarator()
1650 return intermediate.growAggregate(aggregateDeclaration, symbol, identifierLocation); in parseDeclarator()
1654 const TSourceLoc &identifierLocation, const TString &identifier, in parseArrayDeclarator() argument
1660 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseArrayDeclarator()
1665 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseArrayDeclarator()
1668 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseArrayDeclarator()
1686 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseArrayDeclarator()
1689 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseArrayDeclarator()
1693 return intermediate.growAggregate(aggregateDeclaration, symbol, identifierLocation); in parseArrayDeclarator()
1700 const TSourceLoc &identifierLocation, const TString &identifier, in parseInitDeclarator() argument
1706 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseInitDeclarator()
1711 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseInitDeclarator()
1715 if(!executeInitializer(identifierLocation, identifier, publicType, initializer, &intermNode)) in parseInitDeclarator()
1738 const TSourceLoc &identifierLocation, in parseArrayInitDeclarator() argument
1747 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseArrayInitDeclarator()
1752 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseArrayInitDeclarator()
1764 if(indexExpression != nullptr && arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseArrayInitDeclarator()
1774 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseArrayInitDeclarator()