Lines Matching full:captures

1117   // Handle explicit captures.  in ActOnLambdaExpressionAfterIntroducer()
1120 for (auto C = Intro.Captures.begin(), E = Intro.Captures.end(); C != E; in ActOnLambdaExpressionAfterIntroducer()
1161 if (!LSI->Captures.empty()) in ActOnLambdaExpressionAfterIntroducer()
1162 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange; in ActOnLambdaExpressionAfterIntroducer()
1326 if (!LSI->Captures.empty()) in ActOnLambdaExpressionAfterIntroducer()
1327 LSI->ExplicitCaptureRanges[LSI->Captures.size() - 1] = C->ExplicitRange; in ActOnLambdaExpressionAfterIntroducer()
1346 // For simple-captures, this is covered by the check below that any named in ActOnLambdaClosureQualifiers()
1462 for (auto &&C : LSI->Captures) { in ActOnStartOfLambdaDefinition()
1472 for (const auto &Capture : Intro.Captures) { in ActOnStartOfLambdaDefinition()
1502 for (const auto &Capture : Intro.Captures) { in ActOnStartOfLambdaDefinition()
1885 // VLA captures don't have a stored initialization expression. in BuildCaptureInit()
2070 SmallVector<LambdaCapture, 4> Captures; in BuildLambdaExpr() local
2110 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) { in BuildLambdaExpr()
2111 const Capture &From = LSI->Captures[I]; in BuildLambdaExpr()
2121 // Use source ranges of explicit captures for fixits where available. in BuildLambdaExpr()
2124 // Warn about unused explicit captures. in BuildLambdaExpr()
2128 // Initialized captures that are non-ODR used may not be eliminated. in BuildLambdaExpr()
2137 // If there are no captures preceding this capture, remove the in BuildLambdaExpr()
2193 Captures.push_back(Capture); in BuildLambdaExpr()
2200 Class->setCaptures(Context, Captures); in BuildLambdaExpr()
2207 if (Captures.empty() && CaptureDefault == LCD_None) in BuildLambdaExpr()