Lines Matching refs:refExpr

57     Expr *rebuildObjCPropertyRefExpr(ObjCPropertyRefExpr *refExpr) {  in rebuildObjCPropertyRefExpr()
60 if (refExpr->isClassReceiver() || refExpr->isSuperReceiver()) in rebuildObjCPropertyRefExpr()
61 return refExpr; in rebuildObjCPropertyRefExpr()
63 if (refExpr->isExplicitProperty()) { in rebuildObjCPropertyRefExpr()
65 refExpr->getExplicitProperty(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
66 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
67 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
70 refExpr->getImplicitPropertyGetter(), in rebuildObjCPropertyRefExpr()
71 refExpr->getImplicitPropertySetter(), refExpr->getType(), in rebuildObjCPropertyRefExpr()
72 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCPropertyRefExpr()
73 refExpr->getLocation(), SpecificCallback(refExpr->getBase(), 0)); in rebuildObjCPropertyRefExpr()
75 Expr *rebuildObjCSubscriptRefExpr(ObjCSubscriptRefExpr *refExpr) { in rebuildObjCSubscriptRefExpr()
76 assert(refExpr->getBaseExpr()); in rebuildObjCSubscriptRefExpr()
77 assert(refExpr->getKeyExpr()); in rebuildObjCSubscriptRefExpr()
80 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildObjCSubscriptRefExpr()
81 SpecificCallback(refExpr->getKeyExpr(), 1), refExpr->getType(), in rebuildObjCSubscriptRefExpr()
82 refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildObjCSubscriptRefExpr()
83 refExpr->getAtIndexMethodDecl(), refExpr->setAtIndexMethodDecl(), in rebuildObjCSubscriptRefExpr()
84 refExpr->getRBracket()); in rebuildObjCSubscriptRefExpr()
86 Expr *rebuildMSPropertyRefExpr(MSPropertyRefExpr *refExpr) { in rebuildMSPropertyRefExpr()
87 assert(refExpr->getBaseExpr()); in rebuildMSPropertyRefExpr()
90 SpecificCallback(refExpr->getBaseExpr(), 0), in rebuildMSPropertyRefExpr()
91 refExpr->getPropertyDecl(), refExpr->isArrow(), refExpr->getType(), in rebuildMSPropertyRefExpr()
92 refExpr->getValueKind(), refExpr->getQualifierLoc(), in rebuildMSPropertyRefExpr()
93 refExpr->getMemberLoc()); in rebuildMSPropertyRefExpr()
95 Expr *rebuildMSPropertySubscriptExpr(MSPropertySubscriptExpr *refExpr) { in rebuildMSPropertySubscriptExpr()
96 assert(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
97 assert(refExpr->getIdx()); in rebuildMSPropertySubscriptExpr()
99 auto *NewBase = rebuild(refExpr->getBase()); in rebuildMSPropertySubscriptExpr()
103 SpecificCallback(refExpr->getIdx(), MSPropertySubscriptCount), in rebuildMSPropertySubscriptExpr()
104 refExpr->getType(), refExpr->getValueKind(), refExpr->getObjectKind(), in rebuildMSPropertySubscriptExpr()
105 refExpr->getRBracketLoc()); in rebuildMSPropertySubscriptExpr()
282 ObjCPropertyOpBuilder(Sema &S, ObjCPropertyRefExpr *refExpr, bool IsUnique) in ObjCPropertyOpBuilder() argument
283 : PseudoOpBuilder(S, refExpr->getLocation(), IsUnique), in ObjCPropertyOpBuilder()
284 RefExpr(refExpr), SyntacticRefExpr(nullptr), in ObjCPropertyOpBuilder()
322 ObjCSubscriptOpBuilder(Sema &S, ObjCSubscriptRefExpr *refExpr, bool IsUnique) in ObjCSubscriptOpBuilder() argument
323 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in ObjCSubscriptOpBuilder()
324 RefExpr(refExpr), InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder()
349 MSPropertyOpBuilder(Sema &S, MSPropertyRefExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
350 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
351 RefExpr(refExpr), InstanceBase(nullptr) {} in MSPropertyOpBuilder()
352 MSPropertyOpBuilder(Sema &S, MSPropertySubscriptExpr *refExpr, bool IsUnique) in MSPropertyOpBuilder() argument
353 : PseudoOpBuilder(S, refExpr->getSourceRange().getBegin(), IsUnique), in MSPropertyOpBuilder()
355 RefExpr = getBaseMSProperty(refExpr); in MSPropertyOpBuilder()
1452 if (ObjCPropertyRefExpr *refExpr in checkRValue() local
1454 ObjCPropertyOpBuilder builder(SemaRef, refExpr, true); in checkRValue()
1457 else if (ObjCSubscriptRefExpr *refExpr in checkRValue() local
1459 ObjCSubscriptOpBuilder builder(SemaRef, refExpr, true); in checkRValue()
1461 } else if (MSPropertyRefExpr *refExpr in checkRValue() local
1463 MSPropertyOpBuilder builder(SemaRef, refExpr, true); in checkRValue()
1485 if (ObjCPropertyRefExpr *refExpr in checkIncDec() local
1487 ObjCPropertyOpBuilder builder(SemaRef, refExpr, false); in checkIncDec()
1492 } else if (MSPropertyRefExpr *refExpr in checkIncDec() local
1494 MSPropertyOpBuilder builder(SemaRef, refExpr, false); in checkIncDec()
1523 if (ObjCPropertyRefExpr *refExpr in checkAssignment() local
1525 ObjCPropertyOpBuilder builder(SemaRef, refExpr, IsSimpleAssign); in checkAssignment()
1527 } else if (ObjCSubscriptRefExpr *refExpr in checkAssignment() local
1529 ObjCSubscriptOpBuilder builder(SemaRef, refExpr, IsSimpleAssign); in checkAssignment()
1531 } else if (MSPropertyRefExpr *refExpr in checkAssignment() local
1533 MSPropertyOpBuilder builder(SemaRef, refExpr, IsSimpleAssign); in checkAssignment()