Lines Matching refs:Stmt2
30 const Stmt *Stmt2, bool IgnoreSideEffects = false);
109 const Stmt *Stmt2 = I->getElse(); in VisitIfStmt() local
136 if (Stmt1 && Stmt2) { in VisitIfStmt()
138 const Stmt *Else = Stmt2; in VisitIfStmt()
153 if (!Stmt1 || !Stmt2) in VisitIfStmt()
166 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt()
168 Stmt2 = CompStmt->body_back(); in VisitIfStmt()
171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt()
305 const Stmt *Stmt2, bool IgnoreSideEffects) { in isIdenticalStmt() argument
307 if (!Stmt1 || !Stmt2) { in isIdenticalStmt()
308 return !Stmt1 && !Stmt2; in isIdenticalStmt()
313 if (Stmt1->getStmtClass() != Stmt2->getStmtClass()) in isIdenticalStmt()
317 const Expr *Expr2 = dyn_cast<Expr>(Stmt2); in isIdenticalStmt()
360 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
366 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
373 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
391 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
403 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
415 const IfStmt *IStmt2 = cast<IfStmt>(Stmt2); in isIdenticalStmt()
430 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt()
449 const BinaryOperator *BinOp2 = cast<BinaryOperator>(Stmt2); in isIdenticalStmt()
454 const CharacterLiteral *CharLit2 = cast<CharacterLiteral>(Stmt2); in isIdenticalStmt()
459 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2); in isIdenticalStmt()
464 const IntegerLiteral *IntLit2 = cast<IntegerLiteral>(Stmt2); in isIdenticalStmt()
474 const FloatingLiteral *FloatLit2 = cast<FloatingLiteral>(Stmt2); in isIdenticalStmt()
479 const StringLiteral *StringLit2 = cast<StringLiteral>(Stmt2); in isIdenticalStmt()
484 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
489 const UnaryOperator *UnaryOp2 = cast<UnaryOperator>(Stmt2); in isIdenticalStmt()