Home
last modified time | relevance | path

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

/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/clang/lib/CodeGen/
DCGObjCMac.cpp4084 bool HasFinally = (AtTryStmt->getFinallyStmt() != nullptr); in EmitTryOrSynchronizedStmt() local
4088 if (HasFinally) { in EmitTryOrSynchronizedStmt()
4116 CGF.Builder.CreateStore(CGF.Builder.getInt1(HasFinally), CallTryExitVar); in EmitTryOrSynchronizedStmt()
4220 if (HasFinally) { in EmitTryOrSynchronizedStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1149 bool HasFinally = Record[Idx++]; in VisitObjCAtTryStmt() local
1154 if (HasFinally) in VisitObjCAtTryStmt()