Lines Matching refs:identifierLocation
672 …t::singleDeclarationErrorCheck(const TPublicType &publicType, const TSourceLoc &identifierLocation) in singleDeclarationErrorCheck() argument
683 error(identifierLocation, "cannot be used with a structure", in singleDeclarationErrorCheck()
691 if(publicType.qualifier != EvqUniform && samplerErrorCheck(identifierLocation, publicType, in singleDeclarationErrorCheck()
702 …error(identifierLocation, "layout qualifier", getMatrixPackingString(layoutQualifier.matrixPacking… in singleDeclarationErrorCheck()
709 error(identifierLocation, "layout qualifier", getBlockStorageString(layoutQualifier.blockStorage), in singleDeclarationErrorCheck()
715 layoutLocationErrorCheck(identifierLocation, publicType.layoutQualifier)) in singleDeclarationErrorCheck()
1382 const TSourceLoc &identifierLocation, in parseSingleArrayDeclaration() argument
1389 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleArrayDeclaration()
1392 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseSingleArrayDeclaration()
1403 if(arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseSingleArrayDeclaration()
1412 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseSingleArrayDeclaration()
1415 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseSingleArrayDeclaration()
1419 return intermediate.makeAggregate(symbol, identifierLocation); in parseSingleArrayDeclaration()
1423 const TSourceLoc &identifierLocation, in parseSingleInitDeclaration() argument
1430 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleInitDeclaration()
1434 if(!executeInitializer(identifierLocation, identifier, publicType, initializer, &intermNode)) in parseSingleInitDeclaration()
1449 const TSourceLoc &identifierLocation, in parseSingleArrayInitDeclaration() argument
1458 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseSingleArrayInitDeclaration()
1470 if(indexExpression != nullptr && arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseSingleArrayInitDeclaration()
1480 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseSingleArrayInitDeclaration()
1531 const TSourceLoc &identifierLocation, const TString &identifier) in parseDeclarator() argument
1536 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseDeclarator()
1541 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseDeclarator()
1544 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseDeclarator()
1548 if(!declareVariable(identifierLocation, identifier, TType(publicType), &variable)) in parseDeclarator()
1551 …ntermSymbol *symbol = intermediate.addSymbol(0, identifier, TType(publicType), identifierLocation); in parseDeclarator()
1555 return intermediate.growAggregate(aggregateDeclaration, symbol, identifierLocation); in parseDeclarator()
1559 const TSourceLoc &identifierLocation, const TString &identifier, in parseArrayDeclarator() argument
1565 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseArrayDeclarator()
1570 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseArrayDeclarator()
1573 if(nonInitErrorCheck(identifierLocation, identifier, publicType)) in parseArrayDeclarator()
1591 if(!declareVariable(identifierLocation, identifier, arrayType, &variable)) in parseArrayDeclarator()
1594 TIntermSymbol *symbol = intermediate.addSymbol(0, identifier, arrayType, identifierLocation); in parseArrayDeclarator()
1598 return intermediate.growAggregate(aggregateDeclaration, symbol, identifierLocation); in parseArrayDeclarator()
1605 const TSourceLoc &identifierLocation, const TString &identifier, in parseInitDeclarator() argument
1611 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseInitDeclarator()
1616 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseInitDeclarator()
1620 if(!executeInitializer(identifierLocation, identifier, publicType, initializer, &intermNode)) in parseInitDeclarator()
1643 const TSourceLoc &identifierLocation, in parseArrayInitDeclarator() argument
1652 if(singleDeclarationErrorCheck(publicType, identifierLocation)) in parseArrayInitDeclarator()
1657 if(locationDeclaratorListCheck(identifierLocation, publicType)) in parseArrayInitDeclarator()
1669 if(indexExpression != nullptr && arraySizeErrorCheck(identifierLocation, indexExpression, size)) in parseArrayInitDeclarator()
1679 if(!executeInitializer(identifierLocation, identifier, arrayType, initializer, &initNode)) in parseArrayInitDeclarator()