]> granicus.if.org Git - clang/commit
Teach TreeTransform and family how to transform generic lambdas within templates...
authorFaisal Vali <faisalv@yahoo.com>
Thu, 3 Oct 2013 06:29:33 +0000 (06:29 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Thu, 3 Oct 2013 06:29:33 +0000 (06:29 +0000)
commit618c28547a7f7cc785a6c6301f79febf5a584f9e
treef9d971d1b4ea06cabdf6af801512ae21fb0074f2
parent11f22a35b7f08a8d017f6ab26e440edffc930f96
Teach TreeTransform and family how to transform generic lambdas within templates and nested within themselves.

This does not yet include capturing (that is next).

Please see test file for examples.

This patch was LGTM'd by Doug:
http://llvm-reviews.chandlerc.com/D1784
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130930/090048.html

When I first committed this patch - a bunch of buildbots were unable to compile the code that VS2010 seemed to compile.  Seems like there was a dependency on Sema/Template.h which VS did not seem to need, but I have now added for the other compilers.  It still compiles on Visual Studio 2010 - lets hope the buildbots remain quiet (please!)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191879 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/TreeTransform.h
test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp
test/SemaCXX/cxx1y-generic-lambdas.cpp