Lines Matching refs:Cap
4671 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() local
4672 if (Cap.isInvalid()) in buildCapturedStmtCaptureList()
4676 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(), in buildCapturedStmtCaptureList()
4683 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4686 if (Cap.isThisCapture()) { in buildCapturedStmtCaptureList()
4687 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4689 } else if (Cap.isVLATypeCapture()) { in buildCapturedStmtCaptureList()
4691 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList()
4693 assert(Cap.isVariableCapture() && "unknown kind of capture"); in buildCapturedStmtCaptureList()
4696 S.setOpenMPCaptureKind(Field, Cap.getVariable(), RSI->OpenMPLevel); in buildCapturedStmtCaptureList()
4698 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4699 Cap.isReferenceCapture() in buildCapturedStmtCaptureList()
4702 Cap.getVariable())); in buildCapturedStmtCaptureList()