Lines Matching refs:OIRE
574 static void DiagnoseDirectIsaAccess(Sema &S, const ObjCIvarRefExpr *OIRE, in DiagnoseDirectIsaAccess() argument
577 const ObjCIvarDecl *IV = OIRE->getDecl(); in DiagnoseDirectIsaAccess()
586 const Expr *Base = OIRE->getBase(); in DiagnoseDirectIsaAccess()
588 if (OIRE->isArrow()) in DiagnoseDirectIsaAccess()
603 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_assign) << in DiagnoseDirectIsaAccess()
604 FixItHint::CreateInsertion(OIRE->getLocStart(), "object_setClass(") << in DiagnoseDirectIsaAccess()
605 FixItHint::CreateReplacement(SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess()
610 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_assign); in DiagnoseDirectIsaAccess()
617 S.Diag(OIRE->getExprLoc(), diag::warn_objc_isa_use) << in DiagnoseDirectIsaAccess()
618 FixItHint::CreateInsertion(OIRE->getLocStart(), "object_getClass(") << in DiagnoseDirectIsaAccess()
620 SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess()
621 OIRE->getLocEnd()), ")"); in DiagnoseDirectIsaAccess()
623 S.Diag(OIRE->getLocation(), diag::warn_objc_isa_use); in DiagnoseDirectIsaAccess()
683 else if (const ObjCIvarRefExpr *OIRE = in DefaultLvalueConversion() local
685 DiagnoseDirectIsaAccess(*this, OIRE, SourceLocation(), /* Expr*/nullptr); in DefaultLvalueConversion()
10968 else if (const ObjCIvarRefExpr *OIRE = in CreateBuiltinBinOp() local
10970 DiagnoseDirectIsaAccess(*this, OIRE, OpLoc, RHS.get()); in CreateBuiltinBinOp()