Lines Matching refs:ValueDecl
68 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in getType()
76 for (auto *Redecl = cast<ValueDecl>(D->getMostRecentDecl()); Redecl; in getType()
77 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
787 EvaluatingDecl((const ValueDecl *)nullptr), in EvalInfo()
1499 explicit MemberPtr(const ValueDecl *Decl) : in MemberPtr()
1504 const ValueDecl *getDecl() const { in getDecl()
1532 llvm::PointerIntPair<const ValueDecl*, 1, bool> DeclAndIsDerivedMember;
1701 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in IsGlobalLValue()
1749 static const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl()
1750 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
1761 const ValueDecl *Decl = GetLValueBaseDecl(Value); in IsWeakLValue()
1766 const ValueDecl *Decl = GetLValueBaseDecl(Value); in isZeroSized()
1799 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in NoteLValueLocation()
1823 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
1838 if (const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>()) { in CheckLValueConstantExpression()
1879 const ValueDecl *VD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression()
1895 const ValueDecl *Member = Value.getMemberPointerDecl(); in CheckMemberPointerConstantExpression()
2019 const ValueDecl *Decl = Value.getLValueBase().dyn_cast<const ValueDecl*>(); in EvalPointerValueAsBool()
2591 if (Info.EvaluatingDecl.dyn_cast<const ValueDecl*>() == VD) { in evaluateVarDeclInit()
3141 << AK << LVal.Base.is<const ValueDecl*>(); in findCompleteObject()
3165 if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) { in findCompleteObject()
3199 VD == Info.EvaluatingDecl.dyn_cast<const ValueDecl *>()) { in findCompleteObject()
3276 const ValueDecl *VD = Info.EvaluatingDecl.dyn_cast<const ValueDecl*>(); in findCompleteObject()
3277 const ValueDecl *ED = MTE->getExtendingDecl(); in findCompleteObject()
3701 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info, in HandleMemberPointerAccess()
3783 static const ValueDecl *HandleMemberPointerAccess(EvalInfo &Info, in HandleMemberPointerAccess()
4887 const ValueDecl *Member = nullptr; in handleCallExpr()
4914 Call.getLValueBase().dyn_cast<const ValueDecl*>()); in handleCallExpr()
5209 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
5723 dyn_cast_or_null<VarDecl>(Base.dyn_cast<const ValueDecl *>()); in evaluateLValueAsAllocSize()
6092 if (const ValueDecl *VD = in VisitBuiltinCallExpr()
6093 OffsetResult.Base.dyn_cast<const ValueDecl*>()) { in VisitBuiltinCallExpr()
6389 bool Success(const ValueDecl *D) { in Success()
6403 return Success((const ValueDecl*)nullptr); in ZeroInitialization()
7843 if (const ValueDecl *D = B.dyn_cast<const ValueDecl*>()) { in getObjectType()
11285 const ValueDecl *D = cast<DeclRefExpr>(E)->getDecl(); in CheckICE()