Home | History | Annotate | Download | only in AST

Lines Matching refs:Lambda

46   // The ABI assumes that lambda closure types that occur within 
49 // not the case: the lambda closure type ends up living in the context
149 // Lambda closure types with external linkage (indicated by a
150 // non-zero lambda mangling number) have their own numbering scheme, so
306 void mangleLambda(const CXXRecordDecl *Lambda);
1122 // <closure-type-name> ::= Ul <lambda-sig> E [ <nonnegative number> ] _
1123 // <lambda-sig> ::= <parameter-type>+ # Parameter types or 'v' for 'void'.
1323 void CXXNameMangler::mangleLambda(const CXXRecordDecl *Lambda) {
1333 if (Decl *Context = Lambda->getLambdaContextDecl()) {
1348 = cast<CXXMethodDecl>(*Lambda->lookup(Name).first)->getType()->
1354 // <lambda-sig> in a given context; it is n-2 for the nth closure type
1355 // (in lexical order) with that same <lambda-sig> and context.
1358 unsigned Number = Lambda->getLambdaManglingNumber();
1359 assert(Number > 0 && "Lambda should be mangled as an unnamed class");