Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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
51 (1 + NumCatchStmts + (atFinallyStmt != nullptr)) * sizeof(Stmt *); in Create()
53 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create()
58 unsigned NumCatchStmts, in CreateEmpty() argument
61 sizeof(ObjCAtTryStmt) + (1 + NumCatchStmts + HasFinally) * sizeof(Stmt *); in CreateEmpty()
63 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmtObjC.h171 unsigned NumCatchStmts : 16; variable
187 Stmt **CatchStmts, unsigned NumCatchStmts,
190 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() argument
192 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt()
198 Stmt **CatchStmts, unsigned NumCatchStmts,
201 unsigned NumCatchStmts, bool HasFinally);
214 unsigned getNumCatchStmts() const { return NumCatchStmts; } in getNumCatchStmts()
218 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
224 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
230 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in setCatchStmt()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp4213 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local
4215 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()