reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ExprConstant.cpp
 1469     const APValue::LValueBase getLValueBase() const { return Base; }
 1476     unsigned getLValueCallIndex() const { return Base.getCallIndex(); }
 1477     unsigned getLValueVersion() const { return Base.getVersion(); }
 1481         V = APValue(Base, Offset, APValue::NoLValuePath(), IsNullPtr);
 1484         V = APValue(Base, Offset, Designator.Entries,
 1490       Base = V.getLValueBase();
 1507       Base = B;
 1515       Base = (Expr *)nullptr;
 1582         assert(getType(Base)->isPointerType() || getType(Base)->isArrayType());
 1582         assert(getType(Base)->isPointerType() || getType(Base)->isArrayType());
 1917   return LVal.Base.dyn_cast<const ValueDecl*>();
 1923   const Expr *E = Value.Base.dyn_cast<const Expr*>();
 3515   if (!LVal.Base) {
 3527         << AK << LVal.Base.is<const ValueDecl*>();
 3528       NoteLValueLocation(Info, LVal.Base);
 3550   QualType BaseType = getType(LVal.Base);
 3552   if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl*>()) {
 3574           lifetimeStartedInEvaluation(Info, LVal.Base)) {
 3633   } else if (DynamicAllocLValue DA = LVal.Base.dyn_cast<DynamicAllocLValue>()) {
 3639     return CompleteObject(LVal.Base, &(*Alloc)->Value,
 3640                           LVal.Base.getDynamicAllocType());
 3642     const Expr *Base = LVal.Base.dyn_cast<const Expr*>();
 3671             !lifetimeStartedInEvaluation(Info, LVal.Base)) {
 3690         NoteLValueLocation(Info, LVal.Base);
 3694       BaseVal = Frame->getTemporary(Base, LVal.Base.getVersion());
 3734   const Expr *Base = LVal.Base.dyn_cast<const Expr*>();
 3751       CompleteObject LitObj(LVal.Base, &Lit, Base->getType());
 5401     D.truncate(Info.Ctx, LHS.Base, LengthAndField.first);
 6048   DynamicAllocLValue DA = Pointer.Base.dyn_cast<DynamicAllocLValue>();
 6052     if (Pointer.Base)
 6053       NoteLValueLocation(Info, Pointer.Base);
 6063   QualType AllocType = Pointer.Base.getDynamicAllocType();
 6067     NoteLValueLocation(Info, Pointer.Base);
 6116   Info.HeapAllocs.erase(Pointer.Base.get<DynamicAllocLValue>());
 7976     if (!Result.Base && Result.Offset.isZero())
 7988     if (!Result.Base && Result.Offset.isZero())
 8011       Result.Base = (Expr*)nullptr;
 8056              evaluateLValueAsAllocSize(Info, LVal.Base, Result);
 8164     if (OffsetResult.Base) {
 8167           OffsetResult.Base.dyn_cast<const ValueDecl*>()) {
 8169       } else if (const Expr *E = OffsetResult.Base.dyn_cast<const Expr *>()) {
 8173             Info, OffsetResult.Base.getTypeInfoType(), UETT_AlignOf);
 8191       (OffsetResult.Base
 8357     if (!Src.Base || !Dest.Base) {
 8357     if (!Src.Base || !Dest.Base) {
 8359       (!Src.Base ? Src : Dest).moveInto(Val);
 8361           << Move << WChar << !!Src.Base
10320   const auto *E = LVal.Base.dyn_cast<const Expr *>();
11576       if ((!LHSValue.Base && !LHSValue.Offset.isZero()) ||
11577           (!RHSValue.Base && !RHSValue.Offset.isZero()))
11584           LHSValue.Base && RHSValue.Base)
11584           LHSValue.Base && RHSValue.Base)
11592       if ((LHSValue.Base && LHSValue.Offset.isZero() &&
11594           (RHSValue.Base && RHSValue.Offset.isZero() &&
11599       if ((RHSValue.Base && isZeroSized(LHSValue)) ||
11600           (LHSValue.Base && isZeroSized(RHSValue)))
11632           getType(LHSValue.Base), LHSDesignator, RHSDesignator, WasArrayIndex);
11675     if (!LHSValue.Base.isNull() && IsRelational) {
11676       QualType BaseTy = getType(LHSValue.Base);
11827       const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>();
11828       const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>();
11852         !AreElementsOfSameArray(getType(LHSValue.Base), LHSDesignator,
13225   QualType AllocType = Pointer.Base.getDynamicAllocType();
13252   if (!Info.HeapAllocs.erase(Pointer.Base.dyn_cast<DynamicAllocLValue>())) {
13689   if (!HandleDestruction(Info, DeclLoc, LVal.Base, DestroyedValue, DeclTy) ||