Home
last modified time | relevance | path

Searched refs:CXXCatchStmt (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/AST/
DStmtCXX.h25 class CXXCatchStmt : public Stmt {
33 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt() function
37 CXXCatchStmt(EmptyShell Empty) in CXXCatchStmt() function
52 static bool classof(const CXXCatchStmt *) { return true; } in classof() argument
103 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()
DRecursiveASTVisitor.h1684 DEF_TRAVERSE_STMT(CXXCatchStmt, {
/external/clang/lib/Sema/
DSemaStmt.cpp2223 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()
DJumpDiagnostics.cpp432 CXXCatchStmt *CS = TS->getHandler(I); in BuildScopeInformation()
DTreeTransform.h1245 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
5547 TreeTransform<Derived>::TransformCXXCatchStmt(CXXCatchStmt *S) { in TransformCXXCatchStmt()
DSemaDeclCXX.cpp8765 CXXCatchStmt *Handler = TryBlock->getHandler(I); in DiagnoseReturnInConstructorExceptionHandler()
/external/clang/include/clang/Basic/
DStmtNodes.td43 def CXXCatchStmt : Stmt;
/external/clang/lib/Analysis/
DCFG.cpp310 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()
/external/clang/lib/CodeGen/
DCGException.cpp510 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()
/external/clang/lib/AST/
DStmtPrinter.cpp67 void PrintRawCXXCatchStmt(CXXCatchStmt *Catch);
458 void StmtPrinter::PrintRawCXXCatchStmt(CXXCatchStmt *Node) { in PrintRawCXXCatchStmt()
468 void StmtPrinter::VisitCXXCatchStmt(CXXCatchStmt *Node) { in VisitCXXCatchStmt()
DStmt.cpp438 QualType CXXCatchStmt::getCaughtType() const { in getCaughtType()
DStmtProfile.cpp172 void StmtProfiler::VisitCXXCatchStmt(const CXXCatchStmt *S) { in VisitCXXCatchStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp927 void ASTStmtReader::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()
1786 S = new (Context) CXXCatchStmt(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp904 void ASTStmtWriter::VisitCXXCatchStmt(CXXCatchStmt *S) { in VisitCXXCatchStmt()