Lines Matching defs:OIRE
578 static void DiagnoseDirectIsaAccess(Sema &S, const ObjCIvarRefExpr *OIRE,
581 const ObjCIvarDecl *IV = OIRE->getDecl();
590 const Expr *Base = OIRE->getBase();
592 if (OIRE->isArrow())
607 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign)
608 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
611 SourceRange(OIRE->getOpLoc(), AssignLoc), ",")
615 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_assign);
622 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use)
623 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
626 SourceRange(OIRE->getOpLoc(), OIRE->getEndLoc()), ")");
628 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_use);
695 else if (const ObjCIvarRefExpr *OIRE =
697 DiagnoseDirectIsaAccess(*this, OIRE, SourceLocation(), /* Expr*/nullptr);
14840 else if (const ObjCIvarRefExpr *OIRE =
14842 DiagnoseDirectIsaAccess(*this, OIRE, OpLoc, RHS.get());