Lines Matching refs:Cap
4726 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() local
4727 if (Cap.isInvalid()) in buildCapturedStmtCaptureList()
4731 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(), in buildCapturedStmtCaptureList()
4738 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4741 if (Cap.isThisCapture()) { in buildCapturedStmtCaptureList()
4742 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4744 } else if (Cap.isVLATypeCapture()) { in buildCapturedStmtCaptureList()
4746 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList()
4748 assert(Cap.isVariableCapture() && "unknown kind of capture"); in buildCapturedStmtCaptureList()
4751 S.setOpenMPCaptureKind(Field, Cap.getVariable(), RSI->OpenMPLevel); in buildCapturedStmtCaptureList()
4754 Cap.getLocation(), in buildCapturedStmtCaptureList()
4755 Cap.isReferenceCapture() ? CapturedStmt::VCK_ByRef in buildCapturedStmtCaptureList()
4757 cast<VarDecl>(Cap.getVariable()))); in buildCapturedStmtCaptureList()