Lines Matching refs:LVal
964 QualType Type, const LValue &LVal) { in CheckLValueConstantExpression() argument
967 APValue::LValueBase Base = LVal.getLValueBase(); in CheckLValueConstantExpression()
968 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression()
987 LVal.getLValueCallIndex() == 0) && in CheckLValueConstantExpression()
1081 LValue LVal; in CheckConstantExpression() local
1082 LVal.setFrom(Info.Ctx, Value); in CheckConstantExpression()
1083 return CheckLValueConstantExpression(Info, DiagLoc, Type, LVal); in CheckConstantExpression()
1090 const ValueDecl *GetLValueBaseDecl(const LValue &LVal) { in GetLValueBaseDecl() argument
1091 return LVal.Base.dyn_cast<const ValueDecl*>(); in GetLValueBaseDecl()
1337 static bool HandleLValueMember(EvalInfo &Info, const Expr *E, LValue &LVal, in HandleLValueMember() argument
1346 LVal.Offset += Info.Ctx.toCharUnitsFromBits(RL->getFieldOffset(I)); in HandleLValueMember()
1347 LVal.addDecl(Info, E, FD); in HandleLValueMember()
1353 LValue &LVal, in HandleLValueIndirectMember() argument
1357 if (!HandleLValueMember(Info, E, LVal, cast<FieldDecl>(*C))) in HandleLValueIndirectMember()
1390 LValue &LVal, QualType EltTy, in HandleLValueArrayAdjustment() argument
1397 LVal.Offset += Adjustment * SizeOfPointee; in HandleLValueArrayAdjustment()
1398 LVal.adjustIndex(Info, E, Adjustment); in HandleLValueArrayAdjustment()
1408 LValue &LVal, QualType EltTy, in HandleLValueComplexElement() argument
1414 LVal.Offset += SizeOfComponent; in HandleLValueComplexElement()
1416 LVal.addComplex(Info, E, EltTy, Imag); in HandleLValueComplexElement()
1717 const LValue &LVal, APValue &RVal) { in HandleLValueToRValueConversion() argument
1718 if (LVal.Designator.Invalid) in HandleLValueToRValueConversion()
1722 const Expr *Base = LVal.Base.dyn_cast<const Expr*>(); in HandleLValueToRValueConversion()
1724 if (!LVal.Base) { in HandleLValueToRValueConversion()
1731 if (LVal.CallIndex) { in HandleLValueToRValueConversion()
1732 Frame = Info.getCallFrame(LVal.CallIndex); in HandleLValueToRValueConversion()
1735 NoteLValueLocation(Info, LVal.Base); in HandleLValueToRValueConversion()
1752 if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) { in HandleLValueToRValueConversion()
1820 return ExtractSubobject(Info, Conv, RVal, VT, LVal.Designator, Type); in HandleLValueToRValueConversion()
1876 return ExtractSubobject(Info, Conv, RVal, Base->getType(), LVal.Designator, in HandleLValueToRValueConversion()
2619 LValue LVal; in VisitCastExpr() local
2620 if (!EvaluateLValue(E->getSubExpr(), LVal, Info)) in VisitCastExpr()
2625 LVal, RVal)) in VisitCastExpr()
6323 LValue LVal; in EvaluateAsInitializer() local
6324 LVal.set(VD); in EvaluateAsInitializer()
6333 if (!EvaluateInPlace(Value, InitInfo, LVal, &VIE, CCEK_Constant, in EvaluateAsInitializer()
6338 if (!EvaluateInPlace(Value, InitInfo, LVal, this, CCEK_Constant, in EvaluateAsInitializer()