Lines Matching refs:AddStmtChoice
184 class AddStmtChoice { class
188 AddStmtChoice(Kind a_kind = NotAlwaysAdd) : kind(a_kind) {} in AddStmtChoice() function in __anon875bb5ad0111::AddStmtChoice
195 AddStmtChoice withAlwaysAdd(bool alwaysAdd) const { in withAlwaysAdd()
196 return AddStmtChoice(alwaysAdd ? AlwaysAdd : NotAlwaysAdd); in withAlwaysAdd()
543 CFGBlock *VisitInitListExpr(InitListExpr *ILE, AddStmtChoice asc);
544 CFGBlock *VisitAddrLabelExpr(AddrLabelExpr *A, AddStmtChoice asc);
545 CFGBlock *VisitBinaryOperator(BinaryOperator *B, AddStmtChoice asc);
547 CFGBlock *VisitCallExpr(CallExpr *C, AddStmtChoice asc);
549 CFGBlock *VisitChooseExpr(ChooseExpr *C, AddStmtChoice asc);
552 AddStmtChoice asc);
555 AddStmtChoice asc);
557 CFGBlock *VisitCXXConstructExpr(CXXConstructExpr *C, AddStmtChoice asc);
558 CFGBlock *VisitCXXNewExpr(CXXNewExpr *DE, AddStmtChoice asc);
559 CFGBlock *VisitCXXDeleteExpr(CXXDeleteExpr *DE, AddStmtChoice asc);
562 AddStmtChoice asc);
564 AddStmtChoice asc);
572 AddStmtChoice asc, bool ExternallyDestructed);
575 CFGBlock *VisitGCCAsmStmt(GCCAsmStmt *G, AddStmtChoice asc);
577 CFGBlock *VisitImplicitCastExpr(ImplicitCastExpr *E, AddStmtChoice asc);
578 CFGBlock *VisitConstantExpr(ConstantExpr *E, AddStmtChoice asc);
581 CFGBlock *VisitBlockExpr(BlockExpr *E, AddStmtChoice asc);
582 CFGBlock *VisitLambdaExpr(LambdaExpr *E, AddStmtChoice asc);
589 AddStmtChoice asc);
590 CFGBlock *VisitMemberExpr(MemberExpr *M, AddStmtChoice asc);
597 CFGBlock *VisitObjCMessageExpr(ObjCMessageExpr *E, AddStmtChoice asc);
604 CFGBlock *VisitStmtExpr(StmtExpr *S, AddStmtChoice asc);
607 AddStmtChoice asc);
608 CFGBlock *VisitUnaryOperator(UnaryOperator *U, AddStmtChoice asc);
611 CFGBlock *Visit(Stmt *S, AddStmtChoice asc = AddStmtChoice::NotAlwaysAdd,
613 CFGBlock *VisitStmt(Stmt *S, AddStmtChoice asc);
615 CFGBlock *VisitNoRecurse(Expr *E, AddStmtChoice asc);
617 AddStmtChoice asc);
746 return Visit(S, AddStmtChoice::AlwaysAdd); in addStmt()
1286 inline bool AddStmtChoice::alwaysAdd(CFGBuilder &builder, in alwaysAdd()
2119 CFGBlock *CFGBuilder::Visit(Stmt * S, AddStmtChoice asc, in Visit()
2335 CFGBlock *CFGBuilder::VisitStmt(Stmt *S, AddStmtChoice asc) { in VisitStmt()
2359 CFGBlock *CFGBuilder::VisitInitListExpr(InitListExpr *ILE, AddStmtChoice asc) { in VisitInitListExpr()
2383 AddStmtChoice asc) { in VisitAddrLabelExpr()
2395 AddStmtChoice asc) { in VisitUnaryOperator()
2404 return Visit(U->getSubExpr(), AddStmtChoice()); in VisitUnaryOperator()
2512 AddStmtChoice asc) { in VisitBinaryOperator()
2549 CFGBlock *CFGBuilder::VisitNoRecurse(Expr *E, AddStmtChoice asc) { in VisitNoRecurse()
2593 CFGBlock *CFGBuilder::VisitCallExpr(CallExpr *C, AddStmtChoice asc) { in VisitCallExpr()
2679 AddStmtChoice asc) { in VisitChooseExpr()
2685 AddStmtChoice alwaysAdd = asc.withAlwaysAdd(true); in VisitChooseExpr()
2723 CFGBlock *newBlock = Visit(*I, AddStmtChoice::AlwaysAdd, in VisitCompoundStmt()
2739 AddStmtChoice asc) { in VisitConditionalOperator()
2750 AddStmtChoice alwaysAdd = asc.withAlwaysAdd(true); in VisitConditionalOperator()
3116 return Visit(O, AddStmtChoice::AlwaysAdd, /*ExternallyDestructed=*/true); in VisitReturnStmt()
3263 CFGBlock *CFGBuilder::VisitBlockExpr(BlockExpr *E, AddStmtChoice asc) { in VisitBlockExpr()
3275 CFGBlock *CFGBuilder::VisitLambdaExpr(LambdaExpr *E, AddStmtChoice asc) { in VisitLambdaExpr()
3310 CFGBlock *CFGBuilder::VisitGCCAsmStmt(GCCAsmStmt *G, AddStmtChoice asc) { in VisitGCCAsmStmt()
3512 AddStmtChoice asc) { in VisitMaterializeTemporaryExpr()
3520 CFGBlock *CFGBuilder::VisitMemberExpr(MemberExpr *M, AddStmtChoice asc) { in VisitMemberExpr()
3586 AddStmtChoice::NotAlwaysAdd); in VisitObjCForCollectionStmt()
3853 return VisitStmt(S, AddStmtChoice::AlwaysAdd); in VisitObjCAtThrowStmt()
3857 AddStmtChoice asc) { in VisitObjCMessageExpr()
3883 return VisitStmt(T, AddStmtChoice::AlwaysAdd); in VisitCXXThrowExpr()
4012 AddStmtChoice asc) { in VisitUnaryExprOrTypeTraitExpr()
4036 CFGBlock *CFGBuilder::VisitStmtExpr(StmtExpr *SE, AddStmtChoice asc) { in VisitStmtExpr()
4506 AddStmtChoice asc, bool ExternallyDestructed) { in VisitExprWithCleanups()
4521 AddStmtChoice asc) { in VisitCXXBindTemporaryExpr()
4537 AddStmtChoice asc) { in VisitCXXConstructExpr()
4550 AddStmtChoice asc) { in VisitCXXNewExpr()
4575 AddStmtChoice asc) { in VisitCXXDeleteExpr()
4592 AddStmtChoice asc) { in VisitCXXFunctionalCastExpr()
4603 AddStmtChoice asc) { in VisitCXXTemporaryObjectExpr()
4615 AddStmtChoice asc) { in VisitImplicitCastExpr()
4624 return Visit(E->getSubExpr(), AddStmtChoice()); in VisitImplicitCastExpr()
4627 CFGBlock *CFGBuilder::VisitConstantExpr(ConstantExpr *E, AddStmtChoice asc) { in VisitConstantExpr()
4628 return Visit(E->getSubExpr(), AddStmtChoice()); in VisitConstantExpr()
4897 AddStmtChoice asc) { in VisitOMPExecutableDirective()