Lines Matching refs:Ex
37 static bool isArrayIndexOutOfBounds(CheckerContext &C, const Expr *Ex) {
40 if (!isa<ArraySubscriptExpr>(Ex))
43 SVal Loc = C.getSVal(Ex);
98 const Expr *Ex = nullptr;
102 Ex = B->getLHS()->IgnoreParenCasts();
106 Ex = B->getRHS()->IgnoreParenCasts();
110 if (Ex) {
114 if (isArrayIndexOutOfBounds(C, Ex))
125 Ex = B->getRHS();
134 Ex = B->getRHS();
152 Ex = B->getLHS();
166 Ex = B->getLHS();
174 if (Ex) {
175 report->addRange(Ex->getSourceRange());
176 bugreporter::trackExpressionValue(N, Ex, *report);