Lines Matching refs:ValueDecl
64 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>())
542 EvaluatingDecl((const ValueDecl *)nullptr),
1077 explicit MemberPtr(const ValueDecl *Decl) :
1082 const ValueDecl *getDecl() const {
1110 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember;
1264 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) {
1314 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>();
1337 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>();
1352 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) {
1392 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>();
1488 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) {
1489 return LVal.Base.dyn_cast<const ValueDecl*>();
1500 const ValueDecl *Decl = GetLValueBaseDecl(Value);
1505 const ValueDecl *Decl = GetLValueBaseDecl(Value);
1526 const ValueDecl *Decl = Value.getLValueBase().dyn_cast<const ValueDecl*>();
2064 if (Info.EvaluatingDecl.dyn_cast<const ValueDecl*>() == VD) {
2604 << AK << LVal.Base.is<const ValueDecl*>();
2627 if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) {
2661 VD == Info.EvaluatingDecl.dyn_cast<const ValueDecl *>()) {
2728 const ValueDecl *VD = Info.EvaluatingDecl.dyn_cast<const ValueDecl*>();
2729 const ValueDecl *ED = MTE->getExtendingDecl();
3145 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info,
3227 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info,
4213 const ValueDecl *Member = nullptr;
4240 Call.getLValueBase().dyn_cast<const ValueDecl*>());
4480 const ValueDecl *MD = E->getMemberDecl();
5117 if (const ValueDecl *VD =
5118 OffsetResult.Base.dyn_cast<const ValueDecl*>()) {
5171 bool Success(const ValueDecl *D) {
5185 return Success((const ValueDecl*)nullptr);
6299 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) {
9153 const ValueDecl *D = dyn_cast<ValueDecl>(cast<DeclRefExpr>(E)->getDecl());