[PATCH] Generic Lambdas: A first step
Faisal Vali
faisalv at yahoo.com
Thu Jul 18 04:30:42 PDT 2013
Hi rsmith, doug.gregor, eli.friedman,
This patch includes a rudimentary form of generic lambdas that supports auto parameters, and return type deduction but does not support captures, nesting or a conversion operator.
Please see http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130701/083219.html for some context and note Richard's feedback.
Thanks!
http://llvm-reviews.chandlerc.com/D1174
Files:
include/clang/AST/ASTContext.h
include/clang/AST/DeclCXX.h
include/clang/AST/ExprCXX.h
include/clang/AST/Type.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/DeclSpec.h
include/clang/Sema/ScopeInfo.h
include/clang/Sema/Sema.h
include/clang/Sema/SemaLambda.h
lib/AST/ASTContext.cpp
lib/AST/ASTImporter.cpp
lib/AST/DeclCXX.cpp
lib/AST/ExprCXX.cpp
lib/AST/Type.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLambda.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-generic-lambda-1y.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p2-generic-lambda-1y.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p4-1y.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p5-generic-lambda-1y.cpp
test/PCH/cxx1y-lambdas.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1174.1.patch
Type: text/x-patch
Size: 78904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130718/4a553bd6/attachment.bin>
More information about the cfe-commits
mailing list