Lines Matching refs:ParentS
77 const auto *ParentS = Parents[0].get<Stmt>(); in isInCondition() local
78 if (!ParentS || isa<CallExpr>(ParentS)) in isInCondition()
80 switch (ParentS->getStmtClass()) { in isInCondition()
82 CondFound = (S == cast<IfStmt>(ParentS)->getCond()); in isInCondition()
85 CondFound = (S == cast<ForStmt>(ParentS)->getCond()); in isInCondition()
88 CondFound = (S == cast<DoStmt>(ParentS)->getCond()); in isInCondition()
91 CondFound = (S == cast<WhileStmt>(ParentS)->getCond()); in isInCondition()
94 CondFound = (S == cast<SwitchStmt>(ParentS)->getCond()); in isInCondition()
97 CondFound = (S == cast<ConditionalOperator>(ParentS)->getCond()); in isInCondition()
100 CondFound = (S == cast<BinaryConditionalOperator>(ParentS)->getCommon()); in isInCondition()
105 S = ParentS; in isInCondition()