Lines Matching defs:Cap
4428 for (const sema::Capture &Cap : RSI->Captures) {
4429 if (Cap.isInvalid())
4433 ExprResult Init = S.BuildCaptureInit(Cap, Cap.getLocation(),
4440 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap);
4443 if (Cap.isThisCapture()) {
4444 Captures.push_back(CapturedStmt::Capture(Cap.getLocation(),
4446 } else if (Cap.isVLATypeCapture()) {
4448 CapturedStmt::Capture(Cap.getLocation(), CapturedStmt::VCK_VLAType));
4450 assert(Cap.isVariableCapture() && "unknown kind of capture");
4453 S.OpenMP().setOpenMPCaptureKind(Field, Cap.getVariable(),
4457 Cap.getLocation(),
4458 Cap.isReferenceCapture() ? CapturedStmt::VCK_ByRef
4460 cast<VarDecl>(Cap.getVariable())));