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