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()
276 ObjCPropertyOpBuilder(Sema &S, ObjCPropertyRefExpr *refExpr) : in ObjCPropertyOpBuilder() argument
277 PseudoOpBuilder(S, refExpr->getLocation()), RefExpr(refExpr), in ObjCPropertyOpBuilder()
316 ObjCSubscriptOpBuilder(Sema &S, ObjCSubscriptRefExpr *refExpr) : in ObjCSubscriptOpBuilder() argument
317 PseudoOpBuilder(S, refExpr->getSourceRange().getBegin()), in ObjCSubscriptOpBuilder()
318 RefExpr(refExpr), in ObjCSubscriptOpBuilder()
344 MSPropertyOpBuilder(Sema &S, MSPropertyRefExpr *refExpr) : in MSPropertyOpBuilder() argument
345 PseudoOpBuilder(S, refExpr->getSourceRange().getBegin()), in MSPropertyOpBuilder()
346 RefExpr(refExpr), InstanceBase(nullptr) {} in MSPropertyOpBuilder()
347 MSPropertyOpBuilder(Sema &S, MSPropertySubscriptExpr *refExpr) in MSPropertyOpBuilder() argument
348 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin()), in MSPropertyOpBuilder()
350 RefExpr = getBaseMSProperty(refExpr); in MSPropertyOpBuilder()
1529 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1531 ObjCPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectRValue()
1534 else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectRValue() local
1536 ObjCSubscriptOpBuilder builder(*this, refExpr); in checkPseudoObjectRValue()
1538 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectRValue() local
1540 MSPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectRValue()
1561 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1563 ObjCPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectIncDec()
1568 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectIncDec() local
1570 MSPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectIncDec()
1597 if (ObjCPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1599 ObjCPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectAssignment()
1601 } else if (ObjCSubscriptRefExpr *refExpr in checkPseudoObjectAssignment() local
1603 ObjCSubscriptOpBuilder builder(*this, refExpr); in checkPseudoObjectAssignment()
1605 } else if (MSPropertyRefExpr *refExpr in checkPseudoObjectAssignment() local
1607 MSPropertyOpBuilder builder(*this, refExpr); in checkPseudoObjectAssignment()