Lines Matching defs:Capture
1288 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
1309 CapturedStmt::Capture::getCaptureKind() const {
1313 VarDecl *CapturedStmt::Capture::getCapturedVar() const {
1319 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
1322 // Offset of the first Capture object.
1323 unsigned FirstCaptureOffset = llvm::alignTo(Size, alignof(Capture));
1325 return reinterpret_cast<Capture *>(
1331 ArrayRef<Capture> Captures,
1349 // Copy all Capture objects.
1350 Capture *Buffer = getStoredCaptures();
1360 Capture *Buffer = getStoredCaptures();
1362 new (Buffer++) Capture();
1367 ArrayRef<Capture> Captures,
1374 // | CapturedStmt, Init, ..., Init, S, Capture, ..., Capture |
1384 // Realign for the following Capture array.
1385 Size = llvm::alignTo(Size, alignof(Capture));
1386 Size += sizeof(Capture) * Captures.size();
1397 // Realign for the following Capture array.
1398 Size = llvm::alignTo(Size, alignof(Capture));
1399 Size += sizeof(Capture) * NumCaptures;