Home | History | Annotate | Download | only in Sema

Lines Matching refs:Capture

443   //   variable declaration of the form "auto init-capture;"
605 // Distinct capture names, for diagnostics.
619 // lambda-capture.
630 // If a lambda-capture includes a capture-default that is =, the
631 // lambda-capture shall not contain this [...].
652 assert(C->Id && "missing identifier for capture");
659 // lambda-capture.
670 // compound-statement, the identifier in the init-capture
679 // If a lambda-capture includes a capture-default that is &, the
680 // identifiers in the lambda-capture shall not be preceded by &.
681 // If a lambda-capture includes a capture-default that is =, [...]
696 // The identifiers in a capture-list are looked up using the usual
715 // lambda-capture.
723 // Previous capture was an init-capture: no fixit.
748 // A capture followed by an ellipsis is a pack expansion (14.5.3).
919 SmallVector<LambdaExpr::Capture, 4> Captures;
945 LambdaScopeInfo::Capture From = LSI->Captures[I];
946 assert(!From.isBlockCapture() && "Cannot capture __block variables");
949 // Handle 'this' capture.
951 Captures.push_back(LambdaExpr::Capture(From.getLocation(),
961 Captures.push_back(LambdaExpr::Capture(From.getInitCaptureField()));
968 Captures.push_back(LambdaExpr::Capture(From.getLocation(), IsImplicit,
988 llvm_unreachable("block capture in lambda");
1025 // The closure type for a lambda-expression with no lambda-capture
1133 // Add capture. The capture uses a fake variable, which doesn't correspond
1142 BlockDecl::Capture Capture(/*Variable=*/CapVar, /*ByRef=*/false,
1144 Block->setCaptures(Context, &Capture, &Capture + 1,