Searched refs:getStoredStmts (Results 1 – 7 of 7) sorted by relevance
342 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function344 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function381 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()406 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Allocate]); in getAllocate()409 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate]); in getDeallocate()[all …]
3843 Stmt **getStoredStmts() { return reinterpret_cast<Stmt **>(this + 1); }3845 Stmt *const *getStoredStmts() const {3851 void setCapturedStmt(Stmt *S) { getStoredStmts()[NumCaptures] = S; }3866 Stmt *getCapturedStmt() { return getStoredStmts()[NumCaptures]; }3867 const Stmt *getCapturedStmt() const { return getStoredStmts()[NumCaptures]; }3940 return reinterpret_cast<Expr **>(getStoredStmts());3944 return reinterpret_cast<Expr *const *>(getStoredStmts());
1983 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function1984 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function2081 return reinterpret_cast<Expr **>(getStoredStmts()); in capture_init_begin()2087 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()
1275 Stmt **Stored = getStoredStmts(); in LambdaExpr()1291 getStoredStmts()[NumCaptures] = nullptr; // Not one past the end. in LambdaExpr()1322 if (!getStoredStmts()[capture_size()]) { in initBodyIfNeeded()1324 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody(); in initBodyIfNeeded()1330 return getStoredStmts()[capture_size()]; in getBody()1414 return child_range(getStoredStmts(), getStoredStmts() + capture_size() + 1); in children()1419 return const_child_range(getStoredStmts(), in children()1420 getStoredStmts() + capture_size() + 1); in children()
1334 Stmt **Stored = getStoredStmts(); in CapturedStmt()1349 getStoredStmts()[NumCaptures] = nullptr; in CapturedStmt()1400 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()1404 return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()
467 auto *StoredStmts = S->getStoredStmts(); in VisitCoroutineBodyStmt()