Lines Matching refs:RefD
183 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease() local
184 if (!RefD) in isReturnedAfterAutorelease()
194 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
204 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease() local
205 if (!RefD) in isPlusOneAssignBeforeOrAfterAutorelease()
211 return isPlusOneAssignToVar(prevStmt, RefD) || in isPlusOneAssignBeforeOrAfterAutorelease()
212 isPlusOneAssignToVar(nextStmt, RefD); in isPlusOneAssignBeforeOrAfterAutorelease()
215 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) { in isPlusOneAssignToVar() argument
222 return (RefD == getReferencedDecl(Bop->getLHS())) && isPlusOneAssign(Bop); in isPlusOneAssignToVar()
226 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
227 if (VarDecl *VD = dyn_cast<VarDecl>(RefD)) in isPlusOneAssignToVar()