Home | History | Annotate | Download | only in Sema

Lines Matching defs:Lambda

7180   // Decide whether the first capture was for a block or a lambda.
9625 // C++11 [expr.prim.lambda]p2:
9626 // A lambda-expression shall not appear in an unevaluated operand
9633 // during lambda expression creation.
9635 LambdaExpr *Lambda = Rec.Lambdas[I];
9637 C = Lambda->capture_init_begin(),
9638 CEnd = Lambda->capture_init_end();
9890 /// \brief Capture the given variable in the given lambda expression.
9895 CXXRecordDecl *Lambda = LSI->Lambda;
9899 = FieldDecl::Create(S.Context, Lambda, Loc, Loc, 0, FieldType,
9904 Lambda->addDecl(Field);
9906 // C++11 [expr.prim.lambda]p21:
9907 // When the lambda-expression is evaluated, the entities that
9917 // to be re-"exported" from the lambda expression itself.
9921 // An entity captured by a lambda-expression is odr-used (3.2) in
9922 // the scope containing the lambda-expression.
9999 // lambda.
10032 // Only block literals and lambda expressions can capture; other
10114 Diag(cast<LambdaScopeInfo>(CSI)->Lambda->getLocStart(),
10223 // C++11 [expr.prim.lambda]p15:
10237 // C++11 [expr.prim.lambda]p14:
10252 // Forbid the lambda copy-capture of autoreleasing variables.
10255 Diag(Loc, diag::err_arc_autoreleasing_capture) << /*lambda*/ 1;
10263 // Capture this variable in the lambda.
10276 // C++ [expr.prim.lambda]p5:
10277 // The closure type for a lambda-expression has a public inline
10279 // declared const (9.3.1) if and only if the lambda-expression?s