Lines Matching defs:BaseExpr
13465 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
13477 BaseExpr->getType()->getPointeeOrArrayElementType();
13478 BaseExpr = BaseExpr->IgnoreParenCasts();
13480 Context.getAsConstantArrayType(BaseExpr->getType());
13488 BaseType == nullptr || BaseExpr->isFlexibleArrayMemberLike(
13548 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr,
13559 while (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BaseExpr))
13560 BaseExpr = ASE->getBase()->IgnoreParenCasts();
13561 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
13563 if (const auto *ME = dyn_cast<MemberExpr>(BaseExpr))
13567 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr,
13639 BaseExpr->getBeginLoc(), BaseExpr,
13649 DiagRuntimeBehavior(BaseExpr->getBeginLoc(), BaseExpr,
13656 while (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BaseExpr))
13657 BaseExpr = ASE->getBase()->IgnoreParenCasts();
13658 if (const auto *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
13660 if (const auto *ME = dyn_cast<MemberExpr>(BaseExpr))
13664 DiagRuntimeBehavior(ND->getBeginLoc(), BaseExpr,