Lines Matching refs:Ex
34 static bool isEnumConstant(const Expr *Ex) {
35 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex);
41 static bool isTrivialExpression(const Expr *Ex) {
42 Ex = Ex->IgnoreParenCasts();
43 return isa<IntegerLiteral>(Ex) || isa<StringLiteral>(Ex) ||
44 isa<CXXBoolLiteralExpr>(Ex) || isa<ObjCBoolLiteralExpr>(Ex) ||
45 isa<CharacterLiteral>(Ex) ||
46 isEnumConstant(Ex);
167 if (const Expr *Ex = dyn_cast<Expr>(S))
168 S = Ex->IgnoreCasts();
176 if (const Expr *Ex = dyn_cast<Expr>(S))
177 S = Ex->IgnoreCasts();
509 if (const Expr *Ex = dyn_cast<Expr>(S))
510 S = Ex->IgnoreParenImpCasts();