Lines Matching defs:Ex
37 static bool isEnumConstant(const Expr *Ex) {
38 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex);
44 static bool isTrivialExpression(const Expr *Ex) {
45 Ex = Ex->IgnoreParenCasts();
46 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) ||
47 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) ||
48 isa<CharacterLiteral>(Ex) ||
49 isEnumConstant(Ex);
197 if (const auto *Ex = dyn_cast<Expr>(S))
198 S = Ex->IgnoreImplicit();
200 if (const auto *Ex = dyn_cast<Expr>(S))
201 S = Ex->IgnoreCasts();
209 if (const Expr *Ex = dyn_cast<Expr>(S))
210 S = Ex->IgnoreCasts();
602 if (const Expr *Ex = dyn_cast<Expr>(S))
603 S = Ex->IgnoreParenImpCasts();