Home
last modified time | relevance | path

Searched refs:RefD (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp183 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()
[all …]