Lines Matching defs:Ex
422 static bool isCapabilityExpr(Sema &S, const Expr *Ex) {
428 if (const auto *E = dyn_cast<DeclRefExpr>(Ex))
430 else if (const auto *E = dyn_cast<CastExpr>(Ex))
432 else if (const auto *E = dyn_cast<ParenExpr>(Ex))
434 else if (const auto *E = dyn_cast<UnaryOperator>(Ex)) {
438 } else if (const auto *E = dyn_cast<BinaryOperator>(Ex)) {
1136 Expr *Ex = Attr.getArgAsExpr(i);
1138 if (!checkFunctionOrMethodParameterIndex(S, D, Attr, i + 1, Ex, Idx))
1144 Ex->getSourceRange()))
1262 Expr *Ex = AL.getArgAsExpr(i);
1264 if (!checkFunctionOrMethodParameterIndex(S, D, AL, i, Ex, Idx))
1283 << Ex->getSourceRange();