Home | History | Annotate | Download | only in AST

Lines Matching defs:Capture

948 CapturedStmt::Capture::Capture(SourceLocation Loc, VariableCaptureKind Kind,
953 assert(!Var && "'this' capture cannot have a variable!");
970 "Variable-length array type capture cannot have a variable!");
975 CapturedStmt::Capture *CapturedStmt::getStoredCaptures() const {
978 // Offset of the first Capture object.
980 llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>());
982 return reinterpret_cast<Capture *>(
988 ArrayRef<Capture> Captures,
1006 // Copy all Capture objects.
1007 Capture *Buffer = getStoredCaptures();
1019 ArrayRef<Capture> Captures,
1026 // | CapturedStmt, Init, ..., Init, S, Capture, ..., Capture |
1036 // Realign for the following Capture array.
1037 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>());
1038 Size += sizeof(Capture) * Captures.size();
1049 // Realign for the following Capture array.
1050 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>());
1051 Size += sizeof(Capture) * NumCaptures;
1069 // extended to capture variables with redeclarations, for example