Searched refs:declInit (Results 1 – 1 of 1) sorted by relevance
253 TIntermBinary* declInit = declSeq[0]->getAsBinaryNode(); in validateForLoopInit() local254 if (!declInit || (declInit->getOp() != EOpInitialize)) { in validateForLoopInit()258 TIntermSymbol* symbol = declInit->getLeft()->getAsSymbolNode(); in validateForLoopInit()260 error(declInit->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()271 if (!isConstExpr(declInit->getRight())) { in validateForLoopInit()272 error(declInit->getLine(), in validateForLoopInit()