Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DStmtCXX.cpp26 CXXTryStmt *CXXTryStmt::Create(const ASTContext &C, SourceLocation tryLoc, in Create()
28 std::size_t Size = sizeof(CXXTryStmt); in Create()
31 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create()
32 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers); in Create()
35 CXXTryStmt *CXXTryStmt::Create(const ASTContext &C, EmptyShell Empty, in Create()
37 std::size_t Size = sizeof(CXXTryStmt); in Create()
40 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>()); in Create()
41 return new (Mem) CXXTryStmt(Empty, numHandlers); in Create()
44 CXXTryStmt::CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, in CXXTryStmt() function in CXXTryStmt
DStmtProfile.cpp192 void StmtProfiler::VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
DStmtPrinter.cpp530 void StmtPrinter::VisitCXXTryStmt(CXXTryStmt *Node) { in VisitCXXTryStmt()
DASTImporter.cpp209 Stmt *VisitCXXTryStmt(CXXTryStmt *S);
5176 Stmt *ASTNodeImporter::VisitCXXTryStmt(CXXTryStmt *S) { in VisitCXXTryStmt()
5189 return CXXTryStmt::Create(Importer.getToContext(), ToTryLoc, ToTryBlock, in VisitCXXTryStmt()
/external/clang/include/clang/AST/
DStmtCXX.h65 class CXXTryStmt : public Stmt {
69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
71 CXXTryStmt(EmptyShell Empty, unsigned numHandlers) in CXXTryStmt() function
82 static CXXTryStmt *Create(const ASTContext &C, SourceLocation tryLoc,
85 static CXXTryStmt *Create(const ASTContext &C, EmptyShell Empty,
DRecursiveASTVisitor.h2024 DEF_TRAVERSE_STMT(CXXTryStmt, {})
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp90 CXXTryStmt, enumerator
182 return PGOHash::CXXTryStmt; in getHashType()
512 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
DCGClass.cpp940 bool IsTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitConstructorBody()
942 EnterCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitConstructorBody()
957 EmitStmt(cast<CXXTryStmt>(Body)->getTryBlock()); in EmitConstructorBody()
968 ExitCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitConstructorBody()
1524 bool isTryBody = (Body && isa<CXXTryStmt>(Body)); in EmitDestructorBody()
1526 EnterCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitDestructorBody()
1574 EmitStmt(cast<CXXTryStmt>(Body)->getTryBlock()); in EmitDestructorBody()
1594 ExitCXXTryStmt(*cast<CXXTryStmt>(Body), true); in EmitDestructorBody()
DCGException.cpp536 void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) { in EmitCXXTryStmt()
542 void CodeGenFunction::EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { in EnterCXXTryStmt()
1003 void CodeGenFunction::ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock) { in ExitCXXTryStmt()
DCodeGenFunction.h57 class CXXTryStmt; variable
2293 void EnterCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false);
2294 void ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false);
2296 void EmitCXXTryStmt(const CXXTryStmt &S);
DCoverageMappingGen.cpp866 void VisitCXXTryStmt(const CXXTryStmt *S) { in VisitCXXTryStmt()
DCGStmt.cpp176 EmitCXXTryStmt(cast<CXXTryStmt>(*S)); in EmitStmt()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp358 CXXTryStmt *TS = cast<CXXTryStmt>(S); in BuildScopeInformation()
DAnalysisBasedWarnings.cpp315 if (B->getTerminator() && isa<CXXTryStmt>(B->getTerminator())) in CheckFallThrough()
362 if (B.getTerminator() && isa<CXXTryStmt>(B.getTerminator())) { in CheckFallThrough()
391 if (isa<CXXTryStmt>(S)) { in CheckFallThrough()
DSemaStmt.cpp3726 return CXXTryStmt::Create(Context, TryLoc, TryBlock, Handlers); in ActOnCXXTryBlock()
DSemaDeclCXX.cpp1134 if (isa<CXXTryStmt>(Body)) { in CheckConstexprFunctionBody()
13135 void Sema::DiagnoseReturnInConstructorExceptionHandler(CXXTryStmt *TryBlock) { in DiagnoseReturnInConstructorExceptionHandler()
DSemaDecl.cpp11645 if (FD && isa<CXXConstructorDecl>(FD) && isa<CXXTryStmt>(Body)) in ActOnFinishFunctionBody()
11646 DiagnoseReturnInConstructorExceptionHandler(cast<CXXTryStmt>(Body)); in ActOnFinishFunctionBody()
/external/clang/include/clang/Basic/
DStmtNodes.td48 def CXXTryStmt : Stmt;
/external/v8/tools/gcmole/
Dgcmole.cc904 VISIT(CXXTryStmt); in VisitStmt()
941 IGNORE_STMT(CXXTryStmt);
/external/clang/lib/Analysis/
DReachableCode.cpp556 return cast<CXXTryStmt>(S)->getHandler(0)->getCatchLoc(); in GetUnreachableLoc()
DCFG.cpp451 CFGBlock *VisitCXXTryStmt(CXXTryStmt *S);
1521 return VisitCXXTryStmt(cast<CXXTryStmt>(S)); in Visit()
3311 CFGBlock *CFGBuilder::VisitCXXTryStmt(CXXTryStmt *Terminator) { in VisitCXXTryStmt()
4162 void VisitCXXTryStmt(CXXTryStmt *CS) { in VisitCXXTryStmt()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1611 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXTryStmt> cxxTryStmt;
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1196 void ASTStmtReader::VisitCXXTryStmt(CXXTryStmt *S) { in VisitCXXTryStmt()
3241 S = CXXTryStmt::Create(Context, Empty, in ReadStmtFromStream()
DASTWriterStmt.cpp1157 void ASTStmtWriter::VisitCXXTryStmt(CXXTryStmt *S) { in VisitCXXTryStmt()
/external/clang/include/clang/Sema/
DSema.h90 class CXXTryStmt; variable
3567 void DiagnoseReturnInConstructorExceptionHandler(CXXTryStmt *TryBlock);

12