Lines Matching refs:refExpr

56     Expr *rebuildObjCPropertyRefExpr(ObjCPropertyRefExpr *refExpr) {  in rebuildObjCPropertyRefExpr()
59 if (refExpr->isClassReceiver() || refExpr->isSuperReceiver()) in rebuildObjCPropertyRefExpr()
60 return refExpr; in rebuildObjCPropertyRefExpr()
62 if (refExpr->isExplicitProperty()) { in rebuildObjCPropertyRefExpr()
64 refExpr->getExplicitProperty(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
65 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
66 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
69 refExpr->getImplicitPropertyGetter(), in rebuildObjCPropertyRefExpr()
70 refExpr->getImplicitPropertySetter(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
71 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
72 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
74 Expr *rebuildObjCSubscriptRefExpr(ObjCSubscriptRefExpr *refExpr) { in rebuildObjCSubscriptRefExpr()
75 assert(refExpr->getBaseExpr()); in rebuildObjCSubscriptRefExpr()
76 assert(refExpr->getKeyExpr()); in rebuildObjCSubscriptRefExpr()
79 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildObjCSubscriptRefExpr()
80 SpecificCallback(refExpr->getKeyExpr(), 1), refExpr->getType(), in rebuildObjCSubscriptRefExpr()
81 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCSubscriptRefExpr()
82 refExpr->getAtIndexMethodDecl(), refExpr->setAtIndexMethodDecl(), in rebuildObjCSubscriptRefExpr()
83 refExpr->getRBracket()); in rebuildObjCSubscriptRefExpr()
85 Expr *rebuildMSPropertyRefExpr(MSPropertyRefExpr *refExpr) { in rebuildMSPropertyRefExpr()
86 assert(refExpr->getBaseExpr()); in rebuildMSPropertyRefExpr()
89 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildMSPropertyRefExpr()
90 refExpr->getPropertyDecl(), refExpr->isArrow(), refExpr->getType(), in rebuildMSPropertyRefExpr()
91 refExpr->getValueKind(), refExpr->getQualifierLoc(), in rebuildMSPropertyRefExpr()
92 refExpr->getMemberLoc()); in rebuildMSPropertyRefExpr()
94 Expr *rebuildMSPropertySubscriptExpr(MSPropertySubscriptExpr *refExpr) { in rebuildMSPropertySubscriptExpr()
95 assert(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
96 assert(refExpr->getIdx()); in rebuildMSPropertySubscriptExpr()
98 auto *NewBase = rebuild(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
102 SpecificCallback(refExpr->getIdx(), MSPropertySubscriptCount), in rebuildMSPropertySubscriptExpr()
103 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildMSPropertySubscriptExpr()
104 refExpr->getRBracketLoc()); in rebuildMSPropertySubscriptExpr()
284 ObjCPropertyOpBuilder(Sema &S, ObjCPropertyRefExpr *refExpr, bool IsUnique) in ObjCPropertyOpBuilder() argument
285 : PseudoOpBuilder(S, refExpr->getLocation(), IsUnique), in ObjCPropertyOpBuilder()
286 RefExpr(refExpr), SyntacticRefExpr(nullptr), in ObjCPropertyOpBuilder()
324 ObjCSubscriptOpBuilder(Sema &S, ObjCSubscriptRefExpr *refExpr, bool IsUnique) in ObjCSubscriptOpBuilder() argument
325 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in ObjCSubscriptOpBuilder()
326 RefExpr(refExpr), InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder()
351 MSPropertyOpBuilder(Sema &S, MSPropertyRefExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
352 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
353 RefExpr(refExpr), InstanceBase(nullptr) {} in MSPropertyOpBuilder()
354 MSPropertyOpBuilder(Sema &S, MSPropertySubscriptExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
355 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
357 RefExpr = getBaseMSProperty(refExpr); in MSPropertyOpBuilder()
1539 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1541 ObjCPropertyOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1544 else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectRValue() local
1546 ObjCSubscriptOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1548 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1550 MSPropertyOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1571 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1573 ObjCPropertyOpBuilder builder(*this, refExpr, false); in checkPseudoObjectIncDec()
1578 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1580 MSPropertyOpBuilder builder(*this, refExpr, false); in checkPseudoObjectIncDec()
1609 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1611 ObjCPropertyOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()
1613 } else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectAssignment() local
1615 ObjCSubscriptOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()
1617 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1619 MSPropertyOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()