Lines Matching refs:VD
318 bool IsTrackedDecl(const VarDecl *VD) {
319 const DeclContext *DC = VD->getDeclContext();
331 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
332 if (!VD->hasLocalStorage()) {
333 unsigned &flag = Visited[VD];
336 BEVals.push_back(VD, BC);
342 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
343 unsigned &flag = Visited[VD];
346 if (IsTrackedDecl(VD))
347 BEVals.push_back(VD, BC);