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.h381 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 …]
H A DStmt.h3836 Stmt **getStoredStmts() { return reinterpret_cast<Stmt **>(this + 1); } in getStoredStmts() function
3838 Stmt *const *getStoredStmts() const { in getStoredStmts() function
3844 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()
H A DExprCXX.h1967 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
1968 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts() function
2065 return reinterpret_cast<Expr **>(getStoredStmts()); in capture_init_begin()
2071 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.cpp1225 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()
H A DStmt.cpp1333 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()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp467 auto *StoredStmts = S->getStoredStmts(); in VisitCoroutineBodyStmt()