Lines Matching defs:Capture
1482 for (const auto &Capture : Intro.Captures) {
1483 if (Capture.Id == Param->getIdentifier()) {
1485 Diag(Capture.Loc, diag::note_var_explicitly_captured_here)
1486 << Capture.Id << true;
1512 for (const auto &Capture : Intro.Captures) {
1513 if (Capture.Id == TP->getIdentifier()) {
1514 Diag(Capture.Loc, diag::err_template_param_shadow) << Capture.Id;
1890 ExprResult Sema::BuildCaptureInit(const Capture &Cap,
1981 bool Sema::CaptureHasSideEffects(const Capture &From) {
2007 const Capture &From) {
2033 const sema::Capture &Capture) {
2034 SourceLocation Loc = Capture.getLocation();
2035 QualType FieldType = Capture.getCaptureType();
2038 if (Capture.isVariableCapture()) {
2039 const auto *Var = dyn_cast_or_null<VarDecl>(Capture.getVariable());
2074 if (Capture.isVLATypeCapture())
2075 Field->setCapturedVLAType(Capture.getCapturedVLAType());
2124 const Capture &From = LSI->Captures[I];
2171 LambdaCapture Capture = [&] {
2206 Captures.push_back(Capture);
2353 BlockDecl::Capture Capture(/*variable=*/CapVar, /*byRef=*/false,
2355 Block->setCaptures(Context, Capture, /*CapturesCXXThis=*/false);