Home
last modified time | relevance | path

Searched refs:CXXTryStmt (Results 1 – 21 of 21) sorted by relevance

/external/clang/include/clang/AST/
DStmtCXX.h61 class CXXTryStmt : public Stmt {
65 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, Stmt **handlers,
68 CXXTryStmt(EmptyShell Empty, unsigned numHandlers) in CXXTryStmt() function
79 static CXXTryStmt *Create(ASTContext &C, SourceLocation tryLoc,
83 static CXXTryStmt *Create(ASTContext &C, EmptyShell Empty,
113 static bool classof(const CXXTryStmt *) { return true; } in classof() argument
DRecursiveASTVisitor.h1706 DEF_TRAVERSE_STMT(CXXTryStmt, { })
/external/clang/lib/AST/
DStmt.cpp533 CXXTryStmt *CXXTryStmt::Create(ASTContext &C, SourceLocation tryLoc, in Create()
536 std::size_t Size = sizeof(CXXTryStmt); in Create()
539 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create()
540 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers, numHandlers); in Create()
543 CXXTryStmt *CXXTryStmt::Create(ASTContext &C, EmptyShell Empty, in Create()
545 std::size_t Size = sizeof(CXXTryStmt); in Create()
548 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create()
549 return new (Mem) CXXTryStmt(Empty, numHandlers); in Create()
552 CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, in CXXTryStmt() function in CXXTryStmt
DStmtProfile.cpp177 void StmtProfiler::VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
DStmtPrinter.cpp474 void StmtPrinter::VisitCXXTryStmt(CXXTryStmt *Node) { in VisitCXXTryStmt()
/external/clang/lib/Analysis/
DReachableCode.cpp110 return cast<CXXTryStmt>(S)->getHandler(0)->getCatchLoc(); in GetUnreachableLoc()
255 && dyn_cast_or_null<CXXTryStmt>(b.getTerminator().getStmt())) { in FindUnreachableCode()
DCFG.cpp314 CFGBlock *VisitCXXTryStmt(CXXTryStmt *S);
917 return VisitCXXTryStmt(cast<CXXTryStmt>(S)); in Visit()
2452 CFGBlock *CFGBuilder::VisitCXXTryStmt(CXXTryStmt *Terminator) { in VisitCXXTryStmt()
3313 void VisitCXXTryStmt(CXXTryStmt* CS) { in VisitCXXTryStmt()
/external/clang/lib/CodeGen/
DCGClass.cpp696 bool IsTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitConstructorBody()
698 EnterCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitConstructorBody()
708 EmitStmt(cast<CXXTryStmt>(Body)->getTryBlock()); in EmitConstructorBody()
719 ExitCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitConstructorBody()
863 bool isTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitDestructorBody()
865 EnterCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitDestructorBody()
897 EmitStmt(cast<CXXTryStmt>(Body)->getTryBlock()); in EmitDestructorBody()
916 ExitCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitDestructorBody()
DCGException.cpp499 void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) { in EmitCXXTryStmt()
505 void CodeGenFunction::EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { in EnterCXXTryStmt()
1149 void CodeGenFunction::ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { in ExitCXXTryStmt()
DCodeGenFunction.h48 class CXXTryStmt; variable
1880 void EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false);
1881 void ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false);
1883 void EmitCXXTryStmt(const CXXTryStmt &S);
DCGStmt.cpp159 EmitCXXTryStmt(cast<CXXTryStmt>(*S)); in EmitStmt()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp101 if (b.getTerminator() && isa<CXXTryStmt>(b.getTerminator())) in CheckFallThrough()
156 if (B.getTerminator() && isa<CXXTryStmt>(B.getTerminator())) { in CheckFallThrough()
186 if (isa<CXXTryStmt>(S)) { in CheckFallThrough()
DJumpDiagnostics.cpp422 if (CXXTryStmt *TS = dyn_cast<CXXTryStmt>(SubStmt)) { in BuildScopeInformation()
DSemaStmt.cpp2327 return Owned(CXXTryStmt::Create(Context, TryLoc, TryBlock, in ActOnCXXTryBlock()
DSemaDecl.cpp6504 if (FD && isa<CXXConstructorDecl>(FD) && isa<CXXTryStmt>(Body)) in ActOnFinishFunctionBody()
6505 DiagnoseReturnInConstructorExceptionHandler(cast<CXXTryStmt>(Body)); in ActOnFinishFunctionBody()
DTreeTransform.h5582 TreeTransform<Derived>::TransformCXXTryStmt(CXXTryStmt *S) { in TransformCXXTryStmt()
DSemaDeclCXX.cpp8763 void Sema::DiagnoseReturnInConstructorExceptionHandler(CXXTryStmt *TryBlock) { in DiagnoseReturnInConstructorExceptionHandler()
/external/clang/include/clang/Basic/
DStmtNodes.td44 def CXXTryStmt : Stmt;
/external/clang/lib/Serialization/
DASTReaderStmt.cpp934 void ASTStmtReader::VisitCXXTryStmt(CXXTryStmt *S) { in VisitCXXTryStmt()
1790 S = CXXTryStmt::Create(*Context, Empty, in ReadStmtFromStream()
DASTWriterStmt.cpp912 void ASTStmtWriter::VisitCXXTryStmt(CXXTryStmt *S) { in VisitCXXTryStmt()
/external/clang/include/clang/Sema/
DSema.h66 class CXXTryStmt; variable
2116 void DiagnoseReturnInConstructorExceptionHandler(CXXTryStmt *TryBlock);