Lines Matching refs:Designator
997 SubobjectDesignator Designator; member
1003 SubobjectDesignator &getLValueDesignator() { return Designator; } in getLValueDesignator()
1004 const SubobjectDesignator &getLValueDesignator() const { return Designator;} in getLValueDesignator()
1007 if (Designator.Invalid) in moveInto()
1010 V = APValue(Base, Offset, Designator.Entries, in moveInto()
1011 Designator.IsOnePastTheEnd, CallIndex); in moveInto()
1019 Designator = SubobjectDesignator(Ctx, V); in setFrom()
1027 Designator = SubobjectDesignator(getType(B)); in set()
1038 if (Designator.Invalid) in checkNullPointer()
1043 Designator.setInvalid(); in checkNullPointer()
1053 Designator.checkSubobject(Info, E, CSK); in checkSubobject()
1059 Designator.addDeclUnchecked(D, Virtual); in addDecl()
1063 Designator.addArrayUnchecked(CAT); in addArray()
1067 Designator.addComplexUnchecked(EltTy, Imag); in addComplex()
1071 Designator.adjustIndex(Info, E, N); in adjustIndex()
1209 Frame->This->Designator.MostDerivedType); in describeCall()
1330 const SubobjectDesignator &Designator = LVal.getLValueDesignator(); in CheckLValueConstantExpression() local
1339 << IsReferenceType << !Designator.Entries.empty() in CheckLValueConstantExpression()
1391 if (!Designator.Invalid && Designator.isOnePastTheEnd()) { in CheckLValueConstantExpression()
1394 << !Designator.Entries.empty() << !!VD << VD; in CheckLValueConstantExpression()
1857 SubobjectDesignator &D = Result.Designator; in CastToDerivedClass()
1905 SubobjectDesignator &D = Obj.Designator; in HandleLValueBase()
2797 if (LVal.Designator.Invalid) in handleLValueToRValueConversion()
2816 return extractSubobject(Info, Conv, LitObj, LVal.Designator, RVal); in handleLValueToRValueConversion()
2823 return extractSubobject(Info, Conv, StrObj, LVal.Designator, RVal); in handleLValueToRValueConversion()
2828 return Obj && extractSubobject(Info, Conv, Obj, LVal.Designator, RVal); in handleLValueToRValueConversion()
2834 if (LVal.Designator.Invalid) in handleAssignment()
2843 return Obj && modifySubobject(Info, E, Obj, LVal.Designator, Val); in handleAssignment()
2955 if (LVal.Designator.Invalid) in handleCompoundAssignment()
2966 return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler); in handleCompoundAssignment()
3104 if (LVal.Designator.Invalid) in handleIncDec()
3115 return Obj && findSubobject(Info, E, Obj, LVal.Designator, Handler); in handleIncDec()
3166 if (LV.Designator.MostDerivedPathLength + MemPtr.Path.size() > in HandleMemberPointerAccess()
3167 LV.Designator.Entries.size()) { in HandleMemberPointerAccess()
3172 LV.Designator.Entries.size() - MemPtr.Path.size(); in HandleMemberPointerAccess()
3175 LV.Designator.Entries[PathLengthToMember + I]); in HandleMemberPointerAccess()
3189 LV.Designator.Entries.reserve(LV.Designator.Entries.size() + in HandleMemberPointerAccess()
3249 SubobjectDesignator &D = Result.Designator; in HandleBaseToDerivedCast()
4323 SubobjectDesignator Designator(BaseTy); in VisitMemberExpr() local
4324 Designator.addDeclUnchecked(FD); in VisitMemberExpr()
4327 return extractSubobject(Info, E, Obj, Designator, Result) && in VisitMemberExpr()
4605 Result.Designator.setInvalid(); in VisitCastExpr()
4973 Result.Designator.setInvalid(); in VisitCastExpr()
5020 Result.Designator.setInvalid(); in VisitCastExpr()
5043 Result.Designator.setInvalid(); in VisitCastExpr()
5126 Result.Designator.setInvalid(); in VisitCallExpr()
5139 Result.Designator.setInvalid(); in VisitCallExpr()
6350 assert(!LVal.Designator.Invalid); in isDesignatorAtObjectEnd()
6372 for (int I = 0, E = LVal.Designator.Entries.size(); I != E; ++I) { in isDesignatorAtObjectEnd()
6379 uint64_t Index = LVal.Designator.Entries[I].ArrayIndex; in isDesignatorAtObjectEnd()
6385 uint64_t Index = LVal.Designator.Entries[I].ArrayIndex; in isDesignatorAtObjectEnd()
6389 } else if (auto *FD = getAsField(LVal.Designator.Entries[I])) { in isDesignatorAtObjectEnd()
6394 assert(getAsBaseClass(LVal.Designator.Entries[I]) != nullptr && in isDesignatorAtObjectEnd()
6404 if (LVal.Designator.Invalid || !LVal.Designator.Entries.empty()) in refersToCompleteObject()
6489 if (!SubobjectOnly || (End.Designator.Invalid && Type == 1)) { in tryEvaluateBuiltinObjectSize()
6492 End.Designator.setInvalid(); in tryEvaluateBuiltinObjectSize()
6494 End.Designator = SubobjectDesignator(T); in tryEvaluateBuiltinObjectSize()
6502 if (End.Designator.Invalid) in tryEvaluateBuiltinObjectSize()
6509 if (End.Designator.MostDerivedIsArrayElement && in tryEvaluateBuiltinObjectSize()
6510 End.Designator.Entries.size() == End.Designator.MostDerivedPathLength) { in tryEvaluateBuiltinObjectSize()
6512 AmountToAdd = End.Designator.MostDerivedArraySize - in tryEvaluateBuiltinObjectSize()
6513 End.Designator.Entries.back().ArrayIndex; in tryEvaluateBuiltinObjectSize()
6514 } else if (End.Designator.isOnePastTheEnd()) { in tryEvaluateBuiltinObjectSize()
6519 QualType PointeeType = End.Designator.MostDerivedType; in tryEvaluateBuiltinObjectSize()
6524 if (!HandleLValueArrayAdjustment(Info, E, End, End.Designator.MostDerivedType, in tryEvaluateBuiltinObjectSize()
6541 End.Designator.Entries.size() == End.Designator.MostDerivedPathLength && in tryEvaluateBuiltinObjectSize()
6542 End.Designator.MostDerivedIsArrayElement && in tryEvaluateBuiltinObjectSize()
6543 End.Designator.MostDerivedArraySize < 2 && in tryEvaluateBuiltinObjectSize()
7827 LV.Designator.setInvalid(); in VisitCastExpr()