Lines Matching refs:prevStmt
214 Stmt *prevStmt, *nextStmt; in isPlusOneAssignBeforeOrAfterAutorelease() local
215 std::tie(prevStmt, nextStmt) = getPreviousAndNextStmt(E); in isPlusOneAssignBeforeOrAfterAutorelease()
217 return isPlusOneAssignToVar(prevStmt, RefD) || in isPlusOneAssignBeforeOrAfterAutorelease()
251 Stmt *prevStmt = nullptr, *nextStmt = nullptr; in getPreviousAndNextStmt() local
253 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
265 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
277 prevStmt = *prevChildS; in getPreviousAndNextStmt()
278 if (prevStmt) in getPreviousAndNextStmt()
279 prevStmt = prevStmt->IgnoreImplicit(); in getPreviousAndNextStmt()
283 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
286 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()
292 return std::make_pair(prevStmt, nextStmt); in getPreviousAndNextStmt()