Searched refs:NumCatchStmts (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/lib/AST/ |
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 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 …]
|
/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/llvm-project/clang/include/clang/AST/ |
D | StmtObjC.h | 171 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 …]
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 3428 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local 3430 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 3925 unsigned NumCatchStmts = CatchStmts.size(); in ActOnObjCAtTryStmt() local 3927 NumCatchStmts, Finally); in ActOnObjCAtTryStmt()
|