Lines Matching refs:getCond

1934   const TryResult& KnownVal = tryEvaluateBool(C->getCond());  in VisitChooseExpr()
1938 return addStmt(C->getCond()); in VisitChooseExpr()
2008 dyn_cast<BinaryOperator>(C->getCond()->IgnoreParens())) in VisitConditionalOperator()
2016 const TryResult& KnownVal = tryEvaluateBool(C->getCond()); in VisitConditionalOperator()
2020 Expr *condExpr = C->getCond(); in VisitConditionalOperator()
2256 dyn_cast<BinaryOperator>(I->getCond()->IgnoreParens())) in VisitIfStmt()
2267 const TryResult &KnownVal = tryEvaluateBool(I->getCond()); in VisitIfStmt()
2277 CFGBlock *LastBlock = addStmt(I->getCond()); in VisitIfStmt()
2491 Expr *C = F->getCond(); in VisitForStmt()
2809 Expr *C = W->getCond(); in VisitWhileStmt()
2937 if (Stmt *C = D->getCond()) { in VisitDoStmt()
2950 const TryResult &KnownVal = tryEvaluateBool(D->getCond()); in VisitDoStmt()
3127 assert(Terminator->getCond() && "switch condition must be non-NULL"); in VisitSwitchStmt()
3129 bool b = tryEvaluate(Terminator->getCond(), result); in VisitSwitchStmt()
3160 CFGBlock *LastBlock = addStmt(Terminator->getCond()); in VisitSwitchStmt()
3455 if (Expr *C = S->getCond()) { in VisitCXXForRangeStmt()
3472 if (S->getCond()) in VisitCXXForRangeStmt()
3473 KnownVal = tryEvaluateBool(S->getCond()); in VisitCXXForRangeStmt()
3837 VisitForTemporaryDtors(E->getCond(), false, Context); in VisitConditionalOperatorForTemporaryDtors()
3840 TryResult ConditionVal = tryEvaluateBool(E->getCond()); in VisitConditionalOperatorForTemporaryDtors()
4118 if (Stmt *C = I->getCond()) in VisitIfStmt()
4137 if (Stmt *C = F->getCond()) in VisitForStmt()
4147 if (Stmt *C = W->getCond()) in VisitWhileStmt()
4153 if (Stmt *C = D->getCond()) in VisitDoStmt()
4159 Terminator->getCond()->printPretty(OS, Helper, Policy); in VisitSwitchStmt()
4167 if (Stmt *Cond = C->getCond()) in VisitAbstractConditionalOperator()
4174 if (Stmt *Cond = C->getCond()) in VisitChooseExpr()
4581 E = cast<CXXForRangeStmt>(Terminator)->getCond(); in getTerminatorCondition()
4585 E = cast<ForStmt>(Terminator)->getCond(); in getTerminatorCondition()
4589 E = cast<WhileStmt>(Terminator)->getCond(); in getTerminatorCondition()
4593 E = cast<DoStmt>(Terminator)->getCond(); in getTerminatorCondition()
4597 E = cast<IfStmt>(Terminator)->getCond(); in getTerminatorCondition()
4601 E = cast<ChooseExpr>(Terminator)->getCond(); in getTerminatorCondition()
4609 E = cast<SwitchStmt>(Terminator)->getCond(); in getTerminatorCondition()
4613 E = cast<BinaryConditionalOperator>(Terminator)->getCond(); in getTerminatorCondition()
4617 E = cast<ConditionalOperator>(Terminator)->getCond(); in getTerminatorCondition()