Lines Matching refs:RefD
187 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease() local
188 if (!RefD) in isReturnedAfterAutorelease()
198 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
208 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease() local
209 if (!RefD) in isPlusOneAssignBeforeOrAfterAutorelease()
215 return isPlusOneAssignToVar(prevStmt, RefD) || in isPlusOneAssignBeforeOrAfterAutorelease()
216 isPlusOneAssignToVar(nextStmt, RefD); in isPlusOneAssignBeforeOrAfterAutorelease()
219 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) { in isPlusOneAssignToVar() argument
226 return (RefD == getReferencedDecl(Bop->getLHS())) && isPlusOneAssign(Bop); in isPlusOneAssignToVar()
230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
231 if (VarDecl *VD = dyn_cast<VarDecl>(RefD)) in isPlusOneAssignToVar()