Lines Matching refs:refExpr

55     Expr *rebuildObjCPropertyRefExpr(ObjCPropertyRefExpr *refExpr) {  in rebuildObjCPropertyRefExpr()
58 if (refExpr->isClassReceiver() || refExpr->isSuperReceiver()) in rebuildObjCPropertyRefExpr()
59 return refExpr; in rebuildObjCPropertyRefExpr()
61 if (refExpr->isExplicitProperty()) { in rebuildObjCPropertyRefExpr()
63 refExpr->getExplicitProperty(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
64 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
65 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
68 refExpr->getImplicitPropertyGetter(), in rebuildObjCPropertyRefExpr()
69 refExpr->getImplicitPropertySetter(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
70 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
71 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
73 Expr *rebuildObjCSubscriptRefExpr(ObjCSubscriptRefExpr *refExpr) { in rebuildObjCSubscriptRefExpr()
74 assert(refExpr->getBaseExpr()); in rebuildObjCSubscriptRefExpr()
75 assert(refExpr->getKeyExpr()); in rebuildObjCSubscriptRefExpr()
78 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildObjCSubscriptRefExpr()
79 SpecificCallback(refExpr->getKeyExpr(), 1), refExpr->getType(), in rebuildObjCSubscriptRefExpr()
80 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCSubscriptRefExpr()
81 refExpr->getAtIndexMethodDecl(), refExpr->setAtIndexMethodDecl(), in rebuildObjCSubscriptRefExpr()
82 refExpr->getRBracket()); in rebuildObjCSubscriptRefExpr()
84 Expr *rebuildMSPropertyRefExpr(MSPropertyRefExpr *refExpr) { in rebuildMSPropertyRefExpr()
85 assert(refExpr->getBaseExpr()); in rebuildMSPropertyRefExpr()
88 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildMSPropertyRefExpr()
89 refExpr->getPropertyDecl(), refExpr->isArrow(), refExpr->getType(), in rebuildMSPropertyRefExpr()
90 refExpr->getValueKind(), refExpr->getQualifierLoc(), in rebuildMSPropertyRefExpr()
91 refExpr->getMemberLoc()); in rebuildMSPropertyRefExpr()
93 Expr *rebuildMSPropertySubscriptExpr(MSPropertySubscriptExpr *refExpr) { in rebuildMSPropertySubscriptExpr()
94 assert(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
95 assert(refExpr->getIdx()); in rebuildMSPropertySubscriptExpr()
97 auto *NewBase = rebuild(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
101 SpecificCallback(refExpr->getIdx(), MSPropertySubscriptCount), in rebuildMSPropertySubscriptExpr()
102 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildMSPropertySubscriptExpr()
103 refExpr->getRBracketLoc()); in rebuildMSPropertySubscriptExpr()
275 ObjCPropertyOpBuilder(Sema &S, ObjCPropertyRefExpr *refExpr, bool IsUnique) in ObjCPropertyOpBuilder() argument
276 : PseudoOpBuilder(S, refExpr->getLocation(), IsUnique), in ObjCPropertyOpBuilder()
277 RefExpr(refExpr), SyntacticRefExpr(nullptr), in ObjCPropertyOpBuilder()
315 ObjCSubscriptOpBuilder(Sema &S, ObjCSubscriptRefExpr *refExpr, bool IsUnique) in ObjCSubscriptOpBuilder() argument
316 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in ObjCSubscriptOpBuilder()
317 RefExpr(refExpr), InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder()
342 MSPropertyOpBuilder(Sema &S, MSPropertyRefExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
343 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
344 RefExpr(refExpr), InstanceBase(nullptr) {} in MSPropertyOpBuilder()
345 MSPropertyOpBuilder(Sema &S, MSPropertySubscriptExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
346 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
348 RefExpr = getBaseMSProperty(refExpr); in MSPropertyOpBuilder()
1529 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1531 ObjCPropertyOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1534 else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectRValue() local
1536 ObjCSubscriptOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1538 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1540 MSPropertyOpBuilder builder(*this, refExpr, true); in checkPseudoObjectRValue()
1562 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1564 ObjCPropertyOpBuilder builder(*this, refExpr, false); in checkPseudoObjectIncDec()
1569 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1571 MSPropertyOpBuilder builder(*this, refExpr, false); in checkPseudoObjectIncDec()
1600 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1602 ObjCPropertyOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()
1604 } else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectAssignment() local
1606 ObjCSubscriptOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()
1608 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1610 MSPropertyOpBuilder builder(*this, refExpr, IsSimpleAssign); in checkPseudoObjectAssignment()