Home | History | Annotate | Download | only in Sema

Lines Matching defs:Captures

540     ArrayRef<LambdaIntroducer::LambdaCapture> Captures,
552 for (const auto &Capture : Captures) {
1019 // For simple-captures, this is covered by the check below that any named
1034 // Handle explicit captures.
1037 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E;
1078 if (!LSI->Captures.empty())
1079 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange;
1125 // captures a variable [...] whose declarative region is the
1230 if (!LSI->Captures.empty())
1231 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange;
1238 addLambdaParameters(Intro.Captures, Method, CurScope);
1565 // VLA captures don't have a stored initialization expression.
1745 SmallVector<LambdaCapture, 4> Captures;
1785 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
1786 const Capture &From = LSI->Captures[I];
1796 // Use source ranges of explicit captures for fixits where available.
1799 // Warn about unused explicit captures.
1803 // Initialized captures that are non-ODR used may not be eliminated.
1812 // If there are no captures preceding this capture, remove the
1868 Captures.push_back(Capture);
1875 Class->setCaptures(Context, Captures);
1882 if (Captures.empty() && CaptureDefault == LCD_None)