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