Home | History | Annotate | Download | only in Core

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')
1247 const Expr *Ex = Cond;
1250 Ex = Ex->IgnoreParenCasts();
1251 switch (Ex->getStmtClass()) {
1255 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
1258 return VisitTrueTest(Cond, cast<DeclRefExpr>(Ex), tookTrue, BRC,
1261 const UnaryOperator *UO = cast<UnaryOperator>(Ex);
1264 Ex = UO->getSubExpr();
1273 bool ConditionBRVisitor::patternMatch(const Expr *Ex, raw_ostream &Out,
1278 const Expr *OriginalExpr = Ex;
1279 Ex = Ex->IgnoreParenCasts();
1281 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) {
1305 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) {