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()
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 DStmtObjC.h171 return 1 + NumCatchStmts + HasFinally; in numTrailingStatements()
178 unsigned NumCatchStmts : 16; variable
193 Stmt **CatchStmts, unsigned NumCatchStmts,
196 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() argument
198 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt()
204 Stmt **CatchStmts, unsigned NumCatchStmts,
207 unsigned NumCatchStmts, bool HasFinally);
220 unsigned getNumCatchStmts() const { return NumCatchStmts; } in getNumCatchStmts()
224 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
230 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjC.cpp233 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local
235 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()