Lines Matching defs:CS
1258 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
1259 for (auto *BI : CS->body()) {
3079 const CaseStmt *CS,
3089 const llvm::APSInt &lhsInt = CS->getLHS()->EvaluateKnownConstInt(Ctx);
3097 if (const Expr *RHS = CS->getRHS()) {
3113 CFGBlock *CFGBuilder::VisitCaseStmt(CaseStmt *CS) {
3118 if (Stmt *Sub = CS->getSubStmt()) {
3124 currentBlock->setLabel(CS);
3133 CS, *Context)
3137 CS = cast<CaseStmt>(Sub);
3138 Sub = CS->getSubStmt();
3150 CaseBlock->setLabel(CS);
3160 CS, *Context));
3229 CXXCatchStmt *CS = Terminator->getHandler(h);
3230 if (CS->getExceptionDecl() == nullptr) {
3234 CFGBlock *CatchBlock = VisitCXXCatchStmt(CS);
3260 CFGBlock *CFGBuilder::VisitCXXCatchStmt(CXXCatchStmt *CS) {
3270 if (VarDecl *VD = CS->getExceptionDecl()) {
3273 addAutomaticObjDtors(ScopePos, BeginScopePos, CS);
3276 if (CS->getHandlerBlock())
3277 addStmt(CS->getHandlerBlock());
3287 appendStmt(CatchBlock, CS);
3291 CatchBlock->setLabel(CS);
4053 void VisitCXXTryStmt(CXXTryStmt *CS) {
4112 if (Optional<CFGStmt> CS = E.getAs<CFGStmt>()) {
4113 const Stmt *S = CS->getStmt();
4271 else if (CXXCatchStmt *CS = dyn_cast<CXXCatchStmt>(Label)) {
4273 if (CS->getExceptionDecl())
4274 CS->getExceptionDecl()->print(OS, PrintingPolicy(Helper.getLangOpts()),