Lines Matching refs:CS
42 void RSASTReplace::ReplaceInCompoundStmt(clang::CompoundStmt *CS) { in ReplaceInCompoundStmt() argument
43 clang::Stmt **UpdatedStmtList = new clang::Stmt*[CS->size()]; in ReplaceInCompoundStmt()
46 clang::CompoundStmt::body_iterator bI = CS->body_begin(); in ReplaceInCompoundStmt()
47 clang::CompoundStmt::body_iterator bE = CS->body_end(); in ReplaceInCompoundStmt()
57 CS->setStmts(C, llvm::makeArrayRef(UpdatedStmtList, UpdatedStmtCount)); in ReplaceInCompoundStmt()
77 void RSASTReplace::VisitCompoundStmt(clang::CompoundStmt *CS) { in VisitCompoundStmt() argument
78 VisitStmt(CS); in VisitCompoundStmt()
79 ReplaceInCompoundStmt(CS); in VisitCompoundStmt()
82 void RSASTReplace::VisitCaseStmt(clang::CaseStmt *CS) { in VisitCaseStmt() argument
83 if (matchesStmt(CS->getSubStmt())) { in VisitCaseStmt()
84 CS->setSubStmt(mNewStmt); in VisitCaseStmt()
86 VisitStmt(CS); in VisitCaseStmt()