Home | History | Annotate | Download | only in Core

Lines Matching defs:Ex

858 static const Expr *peelOffOuterExpr(const Expr *Ex,
860 Ex = Ex->IgnoreParenCasts();
861 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex))
863 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex))
867 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) {
888 return Ex;
898 if (const Expr *Ex = dyn_cast<Expr>(S)) {
899 Ex = Ex->IgnoreParenCasts();
900 const Expr *PeeledEx = peelOffOuterExpr(Ex, N);
901 if (Ex != PeeledEx)
906 if (const Expr *Ex = dyn_cast<Expr>(S)) {
907 Ex = Ex->IgnoreParenCasts();
908 if (ExplodedGraph::isInterestingLValueExpr(Ex) || CallEvent::isCallStmt(Ex))
909 Inner = Ex;
949 // Find the ExplodedNode where the lvalue (the value of 'Ex')
1240 const Expr *Ex = Cond;
1243 Ex = Ex->IgnoreParenCasts();
1244 switch (Ex->getStmtClass()) {
1248 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
1251 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
1254 const UnaryOperator *UO = cast<UnaryOperator>(Ex);
1257 Ex = UO->getSubExpr();
1266 bool ConditionBRVisitor::patternMatch(const Expr *Ex, raw_ostream &Out,
1271 const Expr *OriginalExpr = Ex;
1272 Ex = Ex->IgnoreParenCasts();
1274 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
1298 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) {