Home
last modified time | relevance | path

Searched refs:NumCatchStmts (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp32 Stmt **CatchStmts, unsigned NumCatchStmts, in ObjCAtTryStmt() argument
35 NumCatchStmts(NumCatchStmts), HasFinally(atFinallyStmt != nullptr) { in ObjCAtTryStmt()
38 for (unsigned I = 0; I != NumCatchStmts; ++I) in ObjCAtTryStmt()
42 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt()
47 Stmt **CatchStmts, unsigned NumCatchStmts, in Create() argument
50 totalSizeToAlloc<Stmt *>(1 + NumCatchStmts + (atFinallyStmt != nullptr)); in Create()
57 unsigned NumCatchStmts, in CreateEmpty() argument
59 size_t Size = totalSizeToAlloc<Stmt *>(1 + NumCatchStmts + HasFinally); in CreateEmpty()
61 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
67 if (NumCatchStmts) in getEndLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h170 return 1 + NumCatchStmts + HasFinally; in numTrailingObjects()
177 unsigned NumCatchStmts : 16; variable
191 Stmt **CatchStmts, unsigned NumCatchStmts,
196 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt()
218 unsigned getNumCatchStmts() const { return NumCatchStmts; } in getNumCatchStmts()
222 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
228 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
234 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in setCatchStmt()
253 getStmts()[1 + NumCatchStmts] = S; in setFinallyStmt()
279 return catch_stmts_begin() + NumCatchStmts; in catch_stmts_end()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4260 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local
4262 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()