Searched refs:NumCatchStmts (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtObjC.cpp | 32 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() 52 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, 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() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtObjC.h | 170 return 1 + NumCatchStmts + HasFinally; in numTrailingObjects() 177 unsigned NumCatchStmts : 16; variable 192 Stmt **CatchStmts, unsigned NumCatchStmts, 195 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() argument 197 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt() 203 Stmt **CatchStmts, unsigned NumCatchStmts, 206 unsigned NumCatchStmts, bool HasFinally); 219 unsigned getNumCatchStmts() const { return NumCatchStmts; } in getNumCatchStmts() 223 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt() 229 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjC.cpp | 237 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local 239 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()
|