Home
last modified time | relevance | path

Searched refs:RefD (Results 1 – 7 of 7) 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 …]
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp187 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()
[all …]
/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DGeneratorTest.cpp37 Reference RefD = Reference("D"); in TEST() local
38 RefD.USR = serialize::hashUSR("4"); in TEST()
41 InfoF->Namespace = {std::move(RefE), std::move(RefD)}; in TEST()
/external/clang/lib/Index/
DIndexingContext.h78 const Decl *RefD = nullptr);
114 const Decl *RefD,
DIndexingContext.cpp49 const Decl *RefD) { in handleReference() argument
57 RefE, RefD, DC); in handleReference()
/external/llvm-project/clang/lib/Index/
DIndexingContext.h84 const Decl *RefD = nullptr);
132 const Decl *RefD,
DIndexingContext.cpp80 const Decl *RefD) { in handleReference() argument
91 RefE, RefD, DC); in handleReference()