Lines Matching refs:BaseExpr
16178 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument
16190 BaseExpr->getType()->getPointeeOrArrayElementType(); in CheckArrayAccess()
16191 BaseExpr = BaseExpr->IgnoreParenCasts(); in CheckArrayAccess()
16193 Context.getAsConstantArrayType(BaseExpr->getType()); in CheckArrayAccess()
16201 BaseType == nullptr || BaseExpr->isFlexibleArrayMemberLike( in CheckArrayAccess()
16261 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
16272 while (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
16273 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess()
16274 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
16276 if (const auto *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
16280 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr, in CheckArrayAccess()
16352 BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
16362 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr, in CheckArrayAccess()
16369 while (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
16370 BaseExpr = ASE->getBase()->IgnoreParenCasts(); in CheckArrayAccess()
16371 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess()
16373 if (const auto *ME = dyn_cast<MemberExpr>(BaseExpr)) in CheckArrayAccess()
16377 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr, in CheckArrayAccess()