Lines Matching defs:Designator
200 /// relevant diagnostic and set the designator as invalid.
203 /// Update this designator to refer to the first element within this array.
214 /// Update this designator to refer to the given base or member of this
229 /// Update this designator to refer to the given complex component.
698 SubobjectDesignator Designator;
704 SubobjectDesignator &getLValueDesignator() { return Designator; }
705 const SubobjectDesignator &getLValueDesignator() const { return Designator;}
708 if (Designator.Invalid)
711 V = APValue(Base, Offset, Designator.Entries,
712 Designator.IsOnePastTheEnd, CallIndex);
719 Designator = SubobjectDesignator(Ctx, V);
726 Designator = SubobjectDesignator(getType(B));
730 // a diagnostic and mark the designator as invalid.
733 if (Designator.Invalid)
738 Designator.setInvalid();
744 // Check this LValue refers to an object. If not, set the designator to be
747 // Outside C++11, do not build a designator referring to a subobject of
748 // any object: we won't use such a designator for anything.
750 Designator.setInvalid();
752 Designator.checkSubobject(Info, E, CSK);
758 Designator.addDeclUnchecked(D, Virtual);
762 Designator.addArrayUnchecked(CAT);
766 Designator.addComplexUnchecked(EltTy, Imag);
770 Designator.adjustIndex(Info, E, N);
977 const SubobjectDesignator &Designator = LVal.getLValueDesignator();
986 << IsReferenceType << !Designator.Entries.empty()
1012 if (Designator.isOnePastTheEnd()) {
1015 << !Designator.Entries.empty() << !!VD << VD;
1272 SubobjectDesignator &D = Result.Designator;
1316 SubobjectDesignator &D = Obj.Designator;
1533 // Walk the designator's path to find the subobject.
1542 // designator which points more than one past the end of the array.
1710 if (LVal.Designator.Invalid)
1812 return ExtractSubobject(Info, Conv, RVal, VT, LVal.Designator, Type);
1868 return ExtractSubobject(Info, Conv, RVal, Base->getType(), LVal.Designator,
1894 /// the resulting LValue subobject designator. This is not possible when
1924 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() >
1925 LV.Designator.Entries.size())
1928 LV.Designator.Entries.size() - MemPtr.Path.size();
1931 LV.Designator.Entries[PathLengthToMember + I]);
1943 LV.Designator.Entries.reserve(LV.Designator.Entries.size() +
1980 SubobjectDesignator &D = Result.Designator;
2683 SubobjectDesignator Designator(BaseTy);
2684 Designator.addDeclUnchecked(FD);
2686 return ExtractSubobject(Info, E, Val, BaseTy, Designator, E->getType()) &&
2891 Result.Designator.setInvalid();
3151 Result.Designator.setInvalid();
3207 Result.Designator.setInvalid();
3230 Result.Designator.setInvalid();
5462 LV.Designator.setInvalid();