Lines Matching defs:Capture
1472 for (const auto &Capture : Intro.Captures) {
1473 if (Capture.Id == Param->getIdentifier()) {
1475 Diag(Capture.Loc, diag::note_var_explicitly_captured_here)
1476 << Capture.Id << true;
1502 for (const auto &Capture : Intro.Captures) {
1503 if (Capture.Id == TP->getIdentifier()) {
1504 Diag(Capture.Loc, diag::err_template_param_shadow) << Capture.Id;
1882 ExprResult Sema::BuildCaptureInit(const Capture &Cap,
1968 bool Sema::CaptureHasSideEffects(const Capture &From) {
1994 const Capture &From) {
2020 const sema::Capture &Capture) {
2021 SourceLocation Loc = Capture.getLocation();
2022 QualType FieldType = Capture.getCaptureType();
2025 if (Capture.isVariableCapture()) {
2026 const auto *Var = dyn_cast_or_null<VarDecl>(Capture.getVariable());
2061 if (Capture.isVLATypeCapture())
2062 Field->setCapturedVLAType(Capture.getCapturedVLAType());
2111 const Capture &From = LSI->Captures[I];
2158 LambdaCapture Capture = [&] {
2193 Captures.push_back(Capture);
2339 BlockDecl::Capture Capture(/*variable=*/CapVar, /*byRef=*/false,
2341 Block->setCaptures(Context, Capture, /*CapturesCXXThis=*/false);