Lines Matching refs:OIRE
549 static void DiagnoseDirectIsaAccess(Sema &S, const ObjCIvarRefExpr *OIRE,
552 const ObjCIvarDecl *IV = OIRE->getDecl();
561 const Expr *Base = OIRE->getBase();
563 if (OIRE->isArrow())
578 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign)
579 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
582 SourceRange(OIRE->getOpLoc(), AssignLoc), ",")
586 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_assign);
593 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use)
594 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
597 SourceRange(OIRE->getOpLoc(), OIRE->getEndLoc()), ")");
599 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_use);
663 else if (const ObjCIvarRefExpr *OIRE =
665 DiagnoseDirectIsaAccess(*this, OIRE, SourceLocation(), /* Expr*/nullptr);
13918 else if (const ObjCIvarRefExpr *OIRE =
13920 DiagnoseDirectIsaAccess(*this, OIRE, OpLoc, RHS.get());