Home
last modified time | relevance | path

Searched refs:getStoredStmts (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtCXX.h342 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
344 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
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()
406 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Allocate]); in getAllocate()
409 return cast_or_null<Expr>(getStoredStmts()[SubStmt::Deallocate]); in getDeallocate()
[all …]
H A DStmt.h3843 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());
H A DExprCXX.h1983 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
1984 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
2081 return reinterpret_cast<Expr **>(getStoredStmts()); in capture_init_begin()
2087 return reinterpret_cast<Expr *const *>(getStoredStmts()); in capture_init_begin()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtCXX.cpp104 auto *ParamBegin = Result->getStoredStmts() + SubStmt::FirstParamMove; in Create()
112 Stmt **SubStmts = getStoredStmts(); in CoroutineBodyStmt()
H A DExprCXX.cpp1275 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()
H A DStmt.cpp1334 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()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp467 auto *StoredStmts = S->getStoredStmts(); in VisitCoroutineBodyStmt()