Lines Matching refs:prevStmt
208 Stmt *prevStmt, *nextStmt; in isPlusOneAssignBeforeOrAfterAutorelease() local
209 std::tie(prevStmt, nextStmt) = getPreviousAndNextStmt(E); in isPlusOneAssignBeforeOrAfterAutorelease()
211 return isPlusOneAssignToVar(prevStmt, RefD) || in isPlusOneAssignBeforeOrAfterAutorelease()
241 Stmt *prevStmt = nullptr, *nextStmt = nullptr; in getPreviousAndNextStmt() local
243 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
255 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
267 prevStmt = *prevChildS; in getPreviousAndNextStmt()
268 if (prevStmt) in getPreviousAndNextStmt()
269 prevStmt = prevStmt->IgnoreImplicit(); in getPreviousAndNextStmt()
273 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
276 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
282 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()