Lines Matching refs:getDecl
195 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl()))
457 if (const auto *ID = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
471 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(RD.getDecl()))
473 if (const auto *MD = dyn_cast_or_null<ObjCMethodDecl>(RD.getDecl()))
565 potentiallyWritesIntoIvar(Call->getRuntimeDefinition().getDecl(),
566 IvarR->getDecl()))
575 !CCall->getDecl()->isImplicit())
750 DR->getDecl()->getDeclName().print(os, PP);
1106 if (const auto *DD = dyn_cast<DeclaratorDecl>(DR->getDecl()))
1224 if (DS->getSingleDecl() != VR->getDecl())
1233 assert(VR->getDecl()->isStaticLocal() && "non-static stackless VarRegion");
1237 assert(VR->getDecl()->hasLocalStorage());
1288 const auto *Param = cast<ParmVarDecl>(VR->getDecl());
1375 InitE = VR->getDecl()->getInit();
1420 if (const auto *Param = dyn_cast<ParmVarDecl>(VR->getDecl())) {
1429 assert(isa<ImplicitParamDecl>(VR->getDecl()));
1831 if (const auto *VD = dyn_cast<VarDecl>(DR->getDecl())) {
2347 const bool quotes = isa<VarDecl>(DR->getDecl());
2352 if (const MemRegion *R = state->getLValue(cast<VarDecl>(DR->getDecl()),
2364 Out << DR->getDecl()->getDeclName().getAsString();
2554 const auto *VD = dyn_cast<VarDecl>(DRE->getDecl());
2680 const Decl *D = N->getLocationContext()->getDecl();
2717 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl());