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()
308 const Stmt *Stmt2, bool IgnoreSideEffects) { in isIdenticalStmt() argument
310 if (!Stmt1 || !Stmt2) { in isIdenticalStmt()
311 return !Stmt1 && !Stmt2; in isIdenticalStmt()
316 if (Stmt1->getStmtClass() != Stmt2->getStmtClass()) in isIdenticalStmt()
320 const Expr *Expr2 = dyn_cast<Expr>(Stmt2); in isIdenticalStmt()
363 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
369 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
376 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
394 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
406 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
418 const IfStmt *IStmt2 = cast<IfStmt>(Stmt2); in isIdenticalStmt()
433 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt()
452 const BinaryOperator *BinOp2 = cast<BinaryOperator>(Stmt2); in isIdenticalStmt()
457 const CharacterLiteral *CharLit2 = cast<CharacterLiteral>(Stmt2); in isIdenticalStmt()
462 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2); in isIdenticalStmt()
467 const IntegerLiteral *IntLit2 = cast<IntegerLiteral>(Stmt2); in isIdenticalStmt()
477 const FloatingLiteral *FloatLit2 = cast<FloatingLiteral>(Stmt2); in isIdenticalStmt()
482 const StringLiteral *StringLit2 = cast<StringLiteral>(Stmt2); in isIdenticalStmt()
487 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
492 const UnaryOperator *UnaryOp2 = cast<UnaryOperator>(Stmt2); in isIdenticalStmt()