Lines Matching refs:BaseExpr
14517 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument
14529 BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess()
14530 BaseExpr = BaseExpr->IgnoreParenCasts(); in CheckArrayAccess()
14532 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
14550 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
14552 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
14621 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
14633 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
14641 dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
14642 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess()
14643 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
14645 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
14650 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr, in CheckArrayAccess()