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