Searched refs:getStoredStmts (Results 1 – 7 of 7) sorted by relevance
381 return cast<CompoundStmt>(getStoredStmts()[SubStmt::Body]); in getBody()385 return getStoredStmts()[SubStmt::Promise]; in getPromiseDeclStmt()392 return getStoredStmts()[SubStmt::InitSuspend]; in getInitSuspendStmt()395 return getStoredStmts()[SubStmt::FinalSuspend]; in getFinalSuspendStmt()399 return getStoredStmts()[SubStmt::OnException]; in getExceptionHandler()402 return getStoredStmts()[SubStmt::OnFallthrough]; in getFallthroughHandler()413 return cast<Expr>(getStoredStmts()[SubStmt::ReturnValue]); in getReturnValueInit()421 return getStoredStmts()[SubStmt::ReturnStmtOnAllocFailure]; in getReturnStmtOnAllocFailure()436 return child_range(getStoredStmts(), in children()441 return const_child_range(getStoredStmts(), getStoredStmts() + in children()[all …]
3836 Stmt **getStoredStmts() { return reinterpret_cast<Stmt **>(this + 1); } in getStoredStmts() function3838 Stmt *const *getStoredStmts() const { in getStoredStmts() function3844 void setCapturedStmt(Stmt *S) { getStoredStmts()[NumCaptures] = S; } in setCapturedStmt()3859 Stmt *getCapturedStmt() { return getStoredStmts()[NumCaptures]; } in getCapturedStmt()3860 const Stmt *getCapturedStmt() const { return getStoredStmts()[NumCaptures]; } in getCapturedStmt()3933 return reinterpret_cast<Expr **>(getStoredStmts()); in capture_init_begin()3937 return reinterpret_cast<Expr *const *>(getStoredStmts()); in capture_init_begin()
1967 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function1968 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function2065 return reinterpret_cast<Expr **>(getStoredStmts()); in capture_init_begin()2071 return reinterpret_cast<Expr *const *>(getStoredStmts()); in capture_init_begin()
104 auto *ParamBegin = Result->getStoredStmts() + SubStmt::FirstParamMove; in Create()112 Stmt **SubStmts = getStoredStmts(); in CoroutineBodyStmt()
1225 Stmt **Stored = getStoredStmts(); in LambdaExpr()1241 getStoredStmts()[NumCaptures] = nullptr; // Not one past the end. in LambdaExpr()1272 if (!getStoredStmts()[capture_size()]) { in initBodyIfNeeded()1274 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody(); in initBodyIfNeeded()1280 return getStoredStmts()[capture_size()]; in getBody()1364 return child_range(getStoredStmts(), getStoredStmts() + capture_size() + 1); in children()1369 return const_child_range(getStoredStmts(), in children()1370 getStoredStmts() + capture_size() + 1); in children()
1333 Stmt **Stored = getStoredStmts(); in CapturedStmt()1348 getStoredStmts()[NumCaptures] = nullptr; in CapturedStmt()1399 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()1403 return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()
467 auto *StoredStmts = S->getStoredStmts(); in VisitCoroutineBodyStmt()