Home | History | Annotate | Download | only in Sema

Lines Matching refs:BaseExpr

4536 static const Type* getElementType(const Expr *BaseExpr) {
4537 const Type* EltType = BaseExpr->getType().getTypePtr();
4580 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
4587 const Type *EffectiveType = getElementType(BaseExpr);
4588 BaseExpr = BaseExpr->IgnoreParenCasts();
4590 Context.getAsConstantArrayType(BaseExpr->getType());
4601 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr))
4603 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr))
4611 const Type* BaseType = getElementType(BaseExpr);
4664 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr,
4676 DiagRuntimeBehavior(BaseExpr->getLocStart(), BaseExpr,
4684 dyn_cast<ArraySubscriptExpr>(BaseExpr))
4685 BaseExpr = ASE->getBase()->IgnoreParenCasts();
4686 BaseExpr))
4688 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr))
4693 DiagRuntimeBehavior(ND->getLocStart(), BaseExpr,