Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp31 ObjCAtTryStmt::ObjCAtTryStmt(SourceLocation atTryLoc, Stmt *atTryStmt, in ObjCAtTryStmt() function in ObjCAtTryStmt
45 ObjCAtTryStmt *ObjCAtTryStmt::Create(const ASTContext &Context, in Create()
51 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in Create()
52 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
56 ObjCAtTryStmt *ObjCAtTryStmt::CreateEmpty(const ASTContext &Context, in CreateEmpty()
60 void *Mem = Context.Allocate(Size, alignof(ObjCAtTryStmt)); in CreateEmpty()
61 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
64 SourceLocation ObjCAtTryStmt::getEndLoc() const { in getEndLoc()
H A DStmtProfile.cpp410 void StmtProfiler::VisitObjCAtTryStmt(const ObjCAtTryStmt *S) { in VisitObjCAtTryStmt()
H A DStmtPrinter.cpp586 void StmtPrinter::VisitObjCAtTryStmt(ObjCAtTryStmt *Node) { in VisitObjCAtTryStmt()
H A DASTImporter.cpp563 ExpectedStmt VisitObjCAtTryStmt(ObjCAtTryStmt *S);
7186 ExpectedStmt ASTNodeImporter::VisitObjCAtTryStmt(ObjCAtTryStmt *S) { in VisitObjCAtTryStmt()
7204 return ObjCAtTryStmt::Create(Importer.getToContext(), in VisitObjCAtTryStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h165 class ObjCAtTryStmt final
167 private llvm::TrailingObjects<ObjCAtTryStmt, Stmt *> {
191 ObjCAtTryStmt(SourceLocation atTryLoc, Stmt *atTryStmt,
195 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() function
201 static ObjCAtTryStmt *Create(const ASTContext &Context,
205 static ObjCAtTryStmt *CreateEmpty(const ASTContext &Context,
270 return const_child_range(const_cast<ObjCAtTryStmt *>(this)->children()); in children()
H A DRecursiveASTVisitor.h2443 DEF_TRAVERSE_STMT(ObjCAtTryStmt, {})
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h42 class ObjCAtTryStmt; variable
100 void EmitTryCatchStmt(CodeGenFunction &CGF, const ObjCAtTryStmt &S,
287 const ObjCAtTryStmt &S) = 0;
H A DCGObjCRuntime.cpp143 const ObjCAtTryStmt &S, in EmitTryCatchStmt()
H A DCGObjCMac.cpp1371 const ObjCAtTryStmt &S) override;
1693 const ObjCAtTryStmt &S) override;
4225 void CGObjCMac::EmitTryStmt(CodeGenFunction &CGF, const ObjCAtTryStmt &S) { in EmitTryStmt()
4265 if (isa<ObjCAtTryStmt>(S)) { in Emit()
4267 cast<ObjCAtTryStmt>(S).getFinallyStmt()) { in Emit()
4564 bool isTry = isa<ObjCAtTryStmt>(S); in EmitTryOrSynchronizedStmt()
4655 CGF.EmitStmt(isTry ? cast<ObjCAtTryStmt>(S).getTryBody() in EmitTryOrSynchronizedStmt()
4668 if (!isTry || !cast<ObjCAtTryStmt>(S).getNumCatchStmts()) { in EmitTryOrSynchronizedStmt()
4685 const ObjCAtTryStmt* AtTryStmt = cast<ObjCAtTryStmt>(&S); in EmitTryOrSynchronizedStmt()
7764 const ObjCAtTryStmt &S) { in EmitTryStmt()
H A DCGObjCGNU.cpp632 const ObjCAtTryStmt &S) override;
4155 const ObjCAtTryStmt &S) { in EmitTryStmt()
H A DCodeGenFunction.h77 class ObjCAtTryStmt; variable
3571 void EmitObjCAtTryStmt(const ObjCAtTryStmt &S);
H A DCodeGenFunction.cpp1665 isa<ObjCForCollectionStmt>(S) || isa<ObjCAtTryStmt>(S)) in mightAddDeclToScope()
H A DCGStmt.cpp177 EmitObjCAtTryStmt(cast<ObjCAtTryStmt>(*S)); in EmitStmt()
H A DCGObjC.cpp2080 void CodeGenFunction::EmitObjCAtTryStmt(const ObjCAtTryStmt &S) { in EmitObjCAtTryStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp489 ObjCAtTryStmt *AT = cast<ObjCAtTryStmt>(S); in BuildScopeInformation()
H A DSemaExceptionSpec.cpp1573 auto *TS = cast<ObjCAtTryStmt>(S); in canThrow()
H A DSemaObjC.cpp238 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(), in ActOnObjCAtTryStmt()
H A DAnalysisBasedWarnings.cpp494 if (Term && (isa<CXXTryStmt>(Term) || isa<ObjCAtTryStmt>(Term))) { in CheckFallThrough()
H A DTreeTransform.h8590 TreeTransform<Derived>::TransformObjCAtTryStmt(ObjCAtTryStmt *S) { in TransformObjCAtTryStmt()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td40 def ObjCAtTryStmt : StmtNode<Stmt>;
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp612 CFGBlock *VisitObjCAtTryStmt(ObjCAtTryStmt *S);
2357 return VisitObjCAtTryStmt(cast<ObjCAtTryStmt>(S)); in Visit()
4063 CFGBlock *CFGBuilder::VisitObjCAtTryStmt(ObjCAtTryStmt *Terminator) { in VisitObjCAtTryStmt()
5580 void VisitObjCAtTryStmt(ObjCAtTryStmt *) { OS << "@try ..."; } in VisitObjCAtTryStmt() argument
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp359 Stmt *RewriteObjCTryStmt(ObjCAtTryStmt *S);
1935 Stmt *RewriteModernObjC::RewriteObjCTryStmt(ObjCAtTryStmt *S) { in RewriteObjCTryStmt()
5544 if (ObjCAtTryStmt *StmtTry = dyn_cast<ObjCAtTryStmt>(S)) in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1627 void ASTStmtReader::VisitObjCAtTryStmt(ObjCAtTryStmt *S) { in VisitObjCAtTryStmt()
3366 S = ObjCAtTryStmt::CreateEmpty(Context, in ReadStmtFromStream()
H A DASTWriterStmt.cpp1588 void ASTStmtWriter::VisitObjCAtTryStmt(ObjCAtTryStmt *S) { in VisitObjCAtTryStmt()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1657 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ObjCAtTryStmt>