Home
last modified time | relevance | path

Searched refs:SubStmts (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
DStmtCXX.h305 Stmt *SubStmts[SubStmt::FirstParamMove]; variable
313 SubStmts[CoroutineBodyStmt::Body] = Body; in CoroutineBodyStmt()
314 SubStmts[CoroutineBodyStmt::Promise] = Promise; in CoroutineBodyStmt()
315 SubStmts[CoroutineBodyStmt::InitSuspend] = InitSuspend; in CoroutineBodyStmt()
316 SubStmts[CoroutineBodyStmt::FinalSuspend] = FinalSuspend; in CoroutineBodyStmt()
317 SubStmts[CoroutineBodyStmt::OnException] = OnException; in CoroutineBodyStmt()
318 SubStmts[CoroutineBodyStmt::OnFallthrough] = OnFallthrough; in CoroutineBodyStmt()
319 SubStmts[CoroutineBodyStmt::ReturnValue] = ReturnValue; in CoroutineBodyStmt()
327 return SubStmts[SubStmt::Body]; in getBody()
330 Stmt *getPromiseDeclStmt() const { return SubStmts[SubStmt::Promise]; } in getPromiseDeclStmt()
[all …]
DStmtObjC.h266 Stmt* SubStmts[END_EXPR]; variable
272 SubStmts[SYNC_EXPR] = synchExpr; in ObjCAtSynchronizedStmt()
273 SubStmts[SYNC_BODY] = synchBody; in ObjCAtSynchronizedStmt()
283 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
286 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
288 void setSynchBody(Stmt *S) { SubStmts[SYNC_BODY] = S; } in setSynchBody()
291 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()
294 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()
296 void setSynchExpr(Stmt *S) { SubStmts[SYNC_EXPR] = S; } in setSynchExpr()
308 return child_range(&SubStmts[0], &SubStmts[0]+END_EXPR); in children()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp2343 SmallVector<Stmt *, 16> SubStmts; in WriteSubStmt() local
2344 CollectedStmts = &SubStmts; in WriteSubStmt()
2366 while (!SubStmts.empty()) in WriteSubStmt()
2367 WriteSubStmt(SubStmts.pop_back_val(), SubStmtEntries, ParentStmts); in WriteSubStmt()