Searched refs:NumCatchStmts (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/AST/ |
D | StmtObjC.cpp | 33 Stmt **CatchStmts, unsigned NumCatchStmts, in ObjCAtTryStmt() argument 36 NumCatchStmts(NumCatchStmts), HasFinally(atFinallyStmt != nullptr) { in ObjCAtTryStmt() 39 for (unsigned I = 0; I != NumCatchStmts; ++I) in ObjCAtTryStmt() 43 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt() 48 Stmt **CatchStmts, unsigned NumCatchStmts, in Create() argument 52 (1 + NumCatchStmts + (atFinallyStmt != nullptr)) * sizeof(Stmt *); in Create() 54 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts, in Create() 59 unsigned NumCatchStmts, in CreateEmpty() argument 62 sizeof(ObjCAtTryStmt) + (1 + NumCatchStmts + HasFinally) * sizeof(Stmt *); in CreateEmpty() 64 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty() [all …]
|
/external/clang/include/clang/AST/ |
D | StmtObjC.h | 160 unsigned NumCatchStmts : 16; variable 176 Stmt **CatchStmts, unsigned NumCatchStmts, 179 explicit ObjCAtTryStmt(EmptyShell Empty, unsigned NumCatchStmts, in ObjCAtTryStmt() argument 181 : Stmt(ObjCAtTryStmtClass, Empty), NumCatchStmts(NumCatchStmts), in ObjCAtTryStmt() 187 Stmt **CatchStmts, unsigned NumCatchStmts, 190 unsigned NumCatchStmts, bool HasFinally); 203 unsigned getNumCatchStmts() const { return NumCatchStmts; } in getNumCatchStmts() 207 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt() 213 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in getCatchStmt() 219 assert(I < NumCatchStmts && "Out-of-bounds @catch index"); in setCatchStmt() [all …]
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 3428 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local 3430 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()
|