Home | History | Annotate | Download | only in AST

Lines Matching refs:Designator

219     /// relevant diagnostic and set the designator as invalid.
222 /// Update this designator to refer to the first element within this array.
233 /// Update this designator to refer to the given base or member of this
248 /// Update this designator to refer to the given complex component.
920 SubobjectDesignator Designator;
926 SubobjectDesignator &getLValueDesignator() { return Designator; }
927 const SubobjectDesignator &getLValueDesignator() const { return Designator;}
930 if (Designator.Invalid)
933 V = APValue(Base, Offset, Designator.Entries,
934 Designator.IsOnePastTheEnd, CallIndex);
941 Designator = SubobjectDesignator(Ctx, V);
948 Designator = SubobjectDesignator(getType(B));
952 // a diagnostic and mark the designator as invalid.
955 if (Designator.Invalid)
960 Designator.setInvalid();
966 // Check this LValue refers to an object. If not, set the designator to be
969 // Outside C++11, do not build a designator referring to a subobject of
970 // any object: we won't use such a designator for anything.
972 Designator.setInvalid();
974 Designator.checkSubobject(Info, E, CSK);
980 Designator.addDeclUnchecked(D, Virtual);
984 Designator.addArrayUnchecked(CAT);
988 Designator.addComplexUnchecked(EltTy, Imag);
992 Designator.adjustIndex(Info, E, N);
1129 Frame->This->Designator.MostDerivedType);
1250 const SubobjectDesignator &Designator = LVal.getLValueDesignator();
1259 << IsReferenceType << !Designator.Entries.empty()
1311 if (Designator.isOnePastTheEnd()) {
1314 << !Designator.Entries.empty() << !!VD << VD;
1756 SubobjectDesignator &D = Result.Designator;
1804 SubobjectDesignator &D = Obj.Designator;
2123 // Walk the designator's path to find the subobject.
2152 // designator which points more than one past the end of the array.
2625 if (LVal.Designator
2630 if (!LVal.Designator.Invalid && Base && !LVal.CallIndex &&
2645 return extractSubobject(Info, Conv, LitObj, LVal.Designator, RVal);
2652 return extractSubobject(Info, Conv, StrObj, LVal.Designator, RVal);
2657 return Obj && extractSubobject(Info, Conv, Obj, LVal.Designator, RVal);
2663 if (LVal.Designator.Invalid)
2672 return Obj && modifySubobject(Info, E, Obj, LVal.Designator, Val);
2784 if (LVal.Designator.Invalid)
2795 return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler);
2933 if (LVal.Designator.Invalid)
2944 return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler);
2970 /// the resulting LValue subobject designator. This is not possible when
2995 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
2996 LV.Designator.Entries.size()) {
3001 LV.Designator.Entries.size() - MemPtr.Path.size();
3004 LV.Designator.Entries[PathLengthToMember + I]);
3018 LV.Designator.Entries.reserve(LV.Designator.Entries.size() +
3078 SubobjectDesignator &D = Result.Designator;
4099 SubobjectDesignator Designator(BaseTy);
4100 Designator.addDeclUnchecked(FD);
4103 return extractSubobject(Info, E, Obj, Designator, Result) &&
4371 Result.Designator.setInvalid();
4737 Result.Designator.setInvalid();
4783 Result.Designator.setInvalid();
4806 Result.Designator.setInvalid();
7229 LV.Designator.setInvalid();