Lines Matching refs:Cap
4596 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList() local
4597 if (Cap.isInvalid()) in buildCapturedStmtCaptureList()
4601 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(), in buildCapturedStmtCaptureList()
4608 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4611 if (Cap.isThisCapture()) { in buildCapturedStmtCaptureList()
4612 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4614 } else if (Cap.isVLATypeCapture()) { in buildCapturedStmtCaptureList()
4616 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType)); in buildCapturedStmtCaptureList()
4618 assert(Cap.isVariableCapture() && "unknown kind of capture"); in buildCapturedStmtCaptureList()
4621 S.setOpenMPCaptureKind(Field, Cap.getVariable(), RSI->OpenMPLevel); in buildCapturedStmtCaptureList()
4623 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(), in buildCapturedStmtCaptureList()
4624 Cap.isReferenceCapture() in buildCapturedStmtCaptureList()
4627 Cap.getVariable())); in buildCapturedStmtCaptureList()