Lines Matching refs:BaseExpr
12381 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument
12389 BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess()
12390 BaseExpr = BaseExpr->IgnoreParenCasts(); in CheckArrayAccess()
12392 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
12408 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
12410 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
12479 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
12491 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
12499 dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
12500 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess()
12501 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
12503 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
12508 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr, in CheckArrayAccess()