Lines Matching defs:Cap
4534 for (const sema::Capture &Cap : RSI->Captures) {
4535 if (Cap.isInvalid())
4539 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(),
4546 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap);
4549 if (Cap.isThisCapture()) {
4550 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(),
4552 } else if (Cap.isVLATypeCapture()) {
4554 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType));
4556 assert(Cap.isVariableCapture() && "unknown kind of capture");
4559 S.OpenMP().setOpenMPCaptureKind(Field, Cap.getVariable(),
4563 Cap.getLocation(),
4564 Cap.isReferenceCapture() ? CapturedStmt::VCK_ByRef
4566 cast<VarDecl>(Cap.getVariable())));