Lines Matching refs:VD
145 static bool isSelfDecl(const VarDecl *VD) { in isSelfDecl() argument
146 return isa<ImplicitParamDecl>(VD) && VD->getName() == "self"; in isSelfDecl()
155 const VarDecl *VD = I.getVariable(); in getSelfDecl() local
156 if (isSelfDecl(VD)) in getSelfDecl()
157 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
173 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl() local
174 if (isSelfDecl(VD)) in getSelfDecl()
175 return dyn_cast<ImplicitParamDecl>(VD); in getSelfDecl()
524 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitDeclRefExpr() local
525 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
526 if (Visited.insert(VD).second) in VisitDeclRefExpr()
527 BEVals.push_back(VD, BC); in VisitDeclRefExpr()