Lines Matching refs:Ex
862 static const Expr *peelOffOuterExpr(const Expr *Ex,
864 Ex = Ex->IgnoreParenCasts();
865 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex))
867 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(Ex))
871 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(Ex)) {
892 return Ex;
902 if (const Expr *Ex = dyn_cast<Expr>(S)) {
903 Ex = Ex->IgnoreParenCasts();
904 const Expr *PeeledEx = peelOffOuterExpr(Ex, N);
905 if (Ex != PeeledEx)
910 if (const Expr *Ex = dyn_cast<Expr>(S)) {
911 Ex = Ex->IgnoreParenCasts();
912 if (ExplodedGraph::isInterestingLValueExpr(Ex) || CallEvent::isCallStmt(Ex))
913 Inner = Ex;
953 // Find the ExplodedNode where the lvalue (the value of 'Ex')
1249 const Expr *Ex = Cond;
1252 Ex = Ex->IgnoreParenCasts();
1253 switch (Ex->getStmtClass()) {
1257 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
1260 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
1263 const UnaryOperator *UO = cast<UnaryOperator>(Ex);
1266 Ex = UO->getSubExpr();
1275 bool ConditionBRVisitor::patternMatch(const Expr *Ex, raw_ostream &Out,
1280 const Expr *OriginalExpr = Ex;
1281 Ex = Ex->IgnoreParenCasts();
1283 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
1307 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) {