Home
last modified time | relevance | path

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

/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.h3865 Stmt **getStoredStmts() { return reinterpret_cast<Stmt **>(this + 1); }
3867 Stmt *const *getStoredStmts() const {
3873 void setCapturedStmt(Stmt *S) { getStoredStmts()[NumCaptures] = S; }
3888 Stmt *getCapturedStmt() { return getStoredStmts()[NumCaptures]; }
3889 const Stmt *getCapturedStmt() const { return getStoredStmts()[NumCaptures]; }
3962 return reinterpret_cast<Expr **>(getStoredStmts());
3966 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()
/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.cpp1274 Stmt **Stored = getStoredStmts(); in LambdaExpr()
1290 getStoredStmts()[NumCaptures] = nullptr; // Not one past the end.
1321 if (!getStoredStmts()[capture_size()]) { in initBodyIfNeeded()
1323 This->getStoredStmts()[capture_size()] = getCallOperator()->getBody(); in initBodyIfNeeded()
1329 return getStoredStmts()[capture_size()];
1413 return child_range(getStoredStmts(), getStoredStmts() + capture_size() + 1);
1418 return const_child_range(getStoredStmts(), in children()
1419 getStoredStmts() + capture_size() + 1);
H A DStmt.cpp1342 Stmt **Stored = getStoredStmts(); in CapturedStmt()
1357 getStoredStmts()[NumCaptures] = nullptr; in Create()
1376 // getStoredStmts() getStoredCaptures() in Create()
1408 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in getCapturedDecl()
1412 return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in getCapturedDecl()
/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp468 auto *StoredStmts = S->getStoredStmts(); in VisitCoroutineBodyStmt()