Searched refs:initDecl (Results 1 – 1 of 1) sorted by relevance
832 const VarDeclaration& initDecl = loopInitializer->as<VarDeclaration>(); in invalid_for_ES2() local833 if (!initDecl.baseType().isNumber()) { in invalid_for_ES2()836 if (initDecl.arraySize() != 0) { in invalid_for_ES2()839 if (!initDecl.value()) { in invalid_for_ES2()842 if (!get_constant_value(*initDecl.value(), &loopInfo.fStart)) { in invalid_for_ES2()846 loopInfo.fIndex = &initDecl.var(); in invalid_for_ES2()943 if (Analysis::StatementWritesToVariable(*loopStatement, initDecl.var())) { in invalid_for_ES2()