Lines Matching refs:Stmt2
29 const Stmt *Stmt2, bool IgnoreSideEffects = false);
108 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt() local
135 if (Stmt1 && Stmt2) { in VisitIfStmt()
137 const Stmt *Else = Stmt2; in VisitIfStmt()
152 if (!Stmt1 || !Stmt2) in VisitIfStmt()
165 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt()
167 Stmt2 = CompStmt->body_back(); in VisitIfStmt()
170 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt()
307 const Stmt *Stmt2, bool IgnoreSideEffects) { in isIdenticalStmt() argument
309 if (!Stmt1 || !Stmt2) { in isIdenticalStmt()
310 return !Stmt1 && !Stmt2; in isIdenticalStmt()
315 if (Stmt1->getStmtClass() != Stmt2->getStmtClass()) in isIdenticalStmt()
319 const Expr *Expr2 = dyn_cast<Expr>(Stmt2); in isIdenticalStmt()
364 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
370 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
377 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
395 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
407 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
419 const IfStmt *IStmt2 = cast<IfStmt>(Stmt2); in isIdenticalStmt()
434 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt()
453 const BinaryOperator *BinOp2 = cast<BinaryOperator>(Stmt2); in isIdenticalStmt()
458 const CharacterLiteral *CharLit2 = cast<CharacterLiteral>(Stmt2); in isIdenticalStmt()
463 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2); in isIdenticalStmt()
468 const IntegerLiteral *IntLit2 = cast<IntegerLiteral>(Stmt2); in isIdenticalStmt()
478 const FloatingLiteral *FloatLit2 = cast<FloatingLiteral>(Stmt2); in isIdenticalStmt()
483 const StringLiteral *StringLit2 = cast<StringLiteral>(Stmt2); in isIdenticalStmt()
488 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
493 const UnaryOperator *UnaryOp2 = cast<UnaryOperator>(Stmt2); in isIdenticalStmt()