Lines Matching refs:Cap
4663 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() local
4664 if (Cap.isInvalid()) in buildCapturedStmtCaptureList()
4668 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(), in buildCapturedStmtCaptureList()
4675 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4678 if (Cap.isThisCapture()) { in buildCapturedStmtCaptureList()
4679 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4681 } else if (Cap.isVLATypeCapture()) { in buildCapturedStmtCaptureList()
4683 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList()
4685 assert(Cap.isVariableCapture() && "unknown kind of capture"); in buildCapturedStmtCaptureList()
4688 S.setOpenMPCaptureKind(Field, Cap.getVariable(), RSI->OpenMPLevel); in buildCapturedStmtCaptureList()
4691 Cap.getLocation(), in buildCapturedStmtCaptureList()
4692 Cap.isReferenceCapture() ? CapturedStmt::VCK_ByRef in buildCapturedStmtCaptureList()
4694 cast<VarDecl>(Cap.getVariable()))); in buildCapturedStmtCaptureList()