Home | History | Annotate | Download | only in Sema

Lines Matching refs:Lambda

65     bool VisitLambdaExpr(LambdaExpr *Lambda);
116 bool CheckDefaultArgumentVisitor::VisitLambdaExpr(LambdaExpr *Lambda) {
117 // C++11 [expr.lambda.prim]p13:
118 // A lambda-expression appearing in a default argument shall not
120 if (Lambda->capture_begin() == Lambda->capture_end())
123 return S->Diag(Lambda->getLocStart(),
606 // C++11 [expr.prim.lambda]p5:
608 // parameter-declaration-clause of a lambda-declarator.
4656 // C++11 [expr.lambda.prim]p19:
4657 // The closure type associated with a lambda-expression has a
8969 /// \brief Mark the call operator of the given lambda closure type as "used".
8970 static void markLambdaCallOperatorUsed(Sema &S, CXXRecordDecl *Lambda) {
8973 *Lambda->lookup(
8983 CXXRecordDecl *Lambda = Conv->getParent();
8985 // Make sure that the lambda call operator is marked used.
8986 markLambdaCallOperatorUsed(*this, Lambda);
8996 = cast<CXXMethodDecl>(*Lambda->lookup(InvokeName).first);
9027 // Copy-initialize the lambda object as needed to capture it.