Lines Matching refs:CapturedStmt
119 if (auto CapS = dyn_cast_or_null<CapturedStmt>(S))
948 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
975 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
976 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
983 reinterpret_cast<char *>(const_cast<CapturedStmt *>(this))
987 CapturedStmt::CapturedStmt(Stmt *S, CapturedRegionKind Kind,
1011 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures)
1017 CapturedStmt *CapturedStmt::Create(const ASTContext &Context, Stmt *S,
1026 // | CapturedStmt, Init, ..., Init, S, Capture, ..., Capture |
1034 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1);
1042 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInits, CD, RD);
1045 CapturedStmt *CapturedStmt::CreateDeserialized(const ASTContext &Context,
1047 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
1055 return new (Mem) CapturedStmt(EmptyShell(), NumCaptures);
1058 Stmt::child_range CapturedStmt::children() {
1063 bool CapturedStmt::capturesVariable(const VarDecl *Var) const {