Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp189 Decl *RefD = getReferencedDecl(Rec); in isReturnedAfterAutorelease() local
190 if (!RefD) in isReturnedAfterAutorelease()
200 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
210 Decl *RefD = getReferencedDecl(Rec); in isPlusOneAssignBeforeOrAfterAutorelease() local
211 if (!RefD) in isPlusOneAssignBeforeOrAfterAutorelease()
217 return isPlusOneAssignToVar(prevStmt, RefD) || in isPlusOneAssignBeforeOrAfterAutorelease()
218 isPlusOneAssignToVar(nextStmt, RefD); in isPlusOneAssignBeforeOrAfterAutorelease()
221 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) { in isPlusOneAssignToVar() argument
228 if (RefD != getReferencedDecl(Bop->getLHS())) in isPlusOneAssignToVar()
236 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
[all …]