Lines Matching defs:Capture
1280 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
1301 CapturedStmt::Capture::getCaptureKind() const {
1305 VarDecl *CapturedStmt::Capture::getCapturedVar() const {
1311 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
1314 // Offset of the first Capture object.
1315 unsigned FirstCaptureOffset = llvm::alignTo(Size, alignof(Capture));
1317 return reinterpret_cast<Capture *>(
1323 ArrayRef<Capture> Captures,
1341 // Copy all Capture objects.
1342 Capture *Buffer = getStoredCaptures();
1352 Capture *Buffer = getStoredCaptures();
1354 new (Buffer++) Capture();
1359 ArrayRef<Capture> Captures,
1366 // | CapturedStmt, Init, ..., Init, S, Capture, ..., Capture |
1376 // Realign for the following Capture array.
1377 Size = llvm::alignTo(Size, alignof(Capture));
1378 Size += sizeof(Capture) * Captures.size();
1389 // Realign for the following Capture array.
1390 Size = llvm::alignTo(Size, alignof(Capture));
1391 Size += sizeof(Capture) * NumCaptures;