Searched refs:CXXCatchStmt (Results 1 – 14 of 14) sorted by relevance
25 class CXXCatchStmt : public Stmt {33 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt() function37 CXXCatchStmt(EmptyShell Empty) in CXXCatchStmt() function52 static bool classof(const CXXCatchStmt *) { return true; } in classof() argument103 CXXCatchStmt *getHandler(unsigned i) { in getHandler()104 return llvm::cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()106 const CXXCatchStmt *getHandler(unsigned i) const { in getHandler()107 return llvm::cast<CXXCatchStmt>(getStmts()[i + 1]); in getHandler()
1684 DEF_TRAVERSE_STMT(CXXCatchStmt, {
2223 return Owned(new (Context) CXXCatchStmt(CatchLoc, in ActOnCXXCatchBlock()2238 CXXCatchStmt *stmt;2240 TypeWithHandler(const QualType &type, CXXCatchStmt *statement) in TypeWithHandler()2258 CXXCatchStmt *getCatchStmt() const { return stmt; } in getCatchStmt()2284 CXXCatchStmt *Handler = llvm::cast<CXXCatchStmt>(Handlers[i]); in ActOnCXXTryBlock()
432 CXXCatchStmt *CS = TS->getHandler(I); in BuildScopeInformation()
1245 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()5547 TreeTransform<Derived>::TransformCXXCatchStmt(CXXCatchStmt *S) { in TransformCXXCatchStmt()
8765 CXXCatchStmt *Handler = TryBlock->getHandler(I); in DiagnoseReturnInConstructorExceptionHandler()
43 def CXXCatchStmt : Stmt;
310 CFGBlock *VisitCXXCatchStmt(CXXCatchStmt *S);896 return VisitCXXCatchStmt(cast<CXXCatchStmt>(S)); in Visit()2474 CXXCatchStmt *CS = Terminator->getHandler(h); in VisitCXXTryStmt()2506 CFGBlock* CFGBuilder::VisitCXXCatchStmt(CXXCatchStmt* CS) { in VisitCXXCatchStmt()3208 cast<CXXCatchStmt>(stmt)->getExceptionDecl(); in StmtPrinterHelper()3487 else if (CXXCatchStmt *CS = dyn_cast<CXXCatchStmt>(Label)) { in print_block()
510 const CXXCatchStmt *C = S.getHandler(I); in EnterCXXTryStmt()1104 static void BeginCatch(CodeGenFunction &CGF, const CXXCatchStmt *S) { in BeginCatch()1179 const CXXCatchStmt *C = S.getHandler(I); in ExitCXXTryStmt()
67 void PrintRawCXXCatchStmt(CXXCatchStmt *Catch);458 void StmtPrinter::PrintRawCXXCatchStmt(CXXCatchStmt *Node) { in PrintRawCXXCatchStmt()468 void StmtPrinter::VisitCXXCatchStmt(CXXCatchStmt *Node) { in VisitCXXCatchStmt()
438 QualType CXXCatchStmt::getCaughtType() const { in getCaughtType()
172 void StmtProfiler::VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
927 void ASTStmtReader::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()1786 S = new (Context) CXXCatchStmt(Empty); in ReadStmtFromStream()
904 void ASTStmtWriter::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()