Home
last modified time | relevance | path

Searched refs:HasFinally (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/lib/AST/
DStmtObjC.cpp35 NumCatchStmts(NumCatchStmts), HasFinally(atFinallyStmt != nullptr) { in ObjCAtTryStmt()
41 if (HasFinally) in ObjCAtTryStmt()
59 bool HasFinally) { in CreateEmpty() argument
61 sizeof(ObjCAtTryStmt) + (1 + NumCatchStmts + HasFinally) * sizeof(Stmt *); in CreateEmpty()
63 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
67 if (HasFinally) in getEndLoc()
/external/clang/lib/AST/
DStmtObjC.cpp36 NumCatchStmts(NumCatchStmts), HasFinally(atFinallyStmt != nullptr) { in ObjCAtTryStmt()
42 if (HasFinally) in ObjCAtTryStmt()
60 bool HasFinally) { in CreateEmpty() argument
62 sizeof(ObjCAtTryStmt) + (1 + NumCatchStmts + HasFinally) * sizeof(Stmt *); in CreateEmpty()
64 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally); in CreateEmpty()
68 if (HasFinally) in getLocEnd()
/external/clang/include/clang/AST/
DStmtObjC.h163 bool HasFinally : 1; variable
180 bool HasFinally) in ObjCAtTryStmt() argument
182 HasFinally(HasFinally) { } in ObjCAtTryStmt()
190 unsigned NumCatchStmts, bool HasFinally);
225 if (!HasFinally) in getFinallyStmt()
231 if (!HasFinally) in getFinallyStmt()
237 assert(HasFinally && "@try does not have a @finally slot!"); in setFinallyStmt()
250 getStmts() + 1 + NumCatchStmts + HasFinally); in children()
/external/llvm-project/clang/include/clang/AST/
DStmtObjC.h174 bool HasFinally : 1; variable
191 bool HasFinally) in ObjCAtTryStmt() argument
193 HasFinally(HasFinally) { } in ObjCAtTryStmt()
201 unsigned NumCatchStmts, bool HasFinally);
236 if (!HasFinally) in getFinallyStmt()
242 if (!HasFinally) in getFinallyStmt()
248 assert(HasFinally && "@try does not have a @finally slot!"); in setFinallyStmt()
261 getStmts() + 1 + NumCatchStmts + HasFinally); in children()
/external/clang/lib/CodeGen/
DCGObjCMac.cpp4151 bool HasFinally = (AtTryStmt->getFinallyStmt() != nullptr); in EmitTryOrSynchronizedStmt() local
4155 if (HasFinally) { in EmitTryOrSynchronizedStmt()
4183 CGF.Builder.CreateStore(CGF.Builder.getInt1(HasFinally), CallTryExitVar); in EmitTryOrSynchronizedStmt()
4287 if (HasFinally) { in EmitTryOrSynchronizedStmt()
/external/llvm-project/clang/lib/CodeGen/
DCGObjCMac.cpp4731 bool HasFinally = (AtTryStmt->getFinallyStmt() != nullptr); in EmitTryOrSynchronizedStmt() local
4735 if (HasFinally) { in EmitTryOrSynchronizedStmt()
4763 CGF.Builder.CreateStore(CGF.Builder.getInt1(HasFinally), CallTryExitVar); in EmitTryOrSynchronizedStmt()
4867 if (HasFinally) { in EmitTryOrSynchronizedStmt()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp1593 bool HasFinally = Record.readInt(); in VisitObjCAtTryStmt() local
1598 if (HasFinally) in VisitObjCAtTryStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1156 bool HasFinally = Record[Idx++]; in VisitObjCAtTryStmt() local
1161 if (HasFinally) in VisitObjCAtTryStmt()