Lines Matching refs:ValueDecl
65 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) in getType()
546 EvaluatingDecl((const ValueDecl *)nullptr), in EvalInfo()
1153 explicit MemberPtr(const ValueDecl *Decl) : in MemberPtr()
1158 const ValueDecl *getDecl() const { in getDecl()
1186 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember;
1340 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue()
1390 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation()
1413 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
1428 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression()
1468 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
1564 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl()
1565 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
1576 const ValueDecl *Decl = GetLValueBaseDecl(Value); in IsWeakLValue()
1581 const ValueDecl *Decl = GetLValueBaseDecl(Value); in isZeroSized()
1602 const ValueDecl *Decl = Value.getLValueBase().dyn_cast<const ValueDecl*>(); in EvalPointerValueAsBool()
2160 if (Info.EvaluatingDecl.dyn_cast<const ValueDecl*>() == VD) { in evaluateVarDeclInit()
2700 << AK << LVal.Base.is<const ValueDecl*>(); in findCompleteObject()
2723 if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) { in findCompleteObject()
2757 VD == Info.EvaluatingDecl.dyn_cast<const ValueDecl *>()) { in findCompleteObject()
2831 const ValueDecl *VD = Info.EvaluatingDecl.dyn_cast<const ValueDecl*>(); in findCompleteObject()
2832 const ValueDecl *ED = MTE->getExtendingDecl(); in findCompleteObject()
3249 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info, in HandleMemberPointerAccess()
3331 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info, in HandleMemberPointerAccess()
4360 const ValueDecl *Member = nullptr; in handleCallExpr()
4387 Call.getLValueBase().dyn_cast<const ValueDecl*>()); in handleCallExpr()
4636 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
5273 if (const ValueDecl *VD = in VisitCallExpr()
5274 OffsetResult.Base.dyn_cast<const ValueDecl*>()) { in VisitCallExpr()
5327 bool Success(const ValueDecl *D) { in Success()
5341 return Success((const ValueDecl*)nullptr); in ZeroInitialization()
6570 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in getObjectType()
9471 const ValueDecl *D = dyn_cast<ValueDecl>(cast<DeclRefExpr>(E)->getDecl()); in CheckICE()