[PATCH] Fix an instantiation error with nested generic lambdas and fptrs

Faisal Vali faisalv at yahoo.com
Mon Oct 7 13:08:50 PDT 2013



================
Comment at: lib/Sema/SemaLambda.cpp:945
@@ +944,3 @@
+
+    InvokerParams.push_back(ParmVarDecl::Create(S.Context, 
+           // Temporarily add to the TU. This is set to the invoker below.
----------------
Can I use the CallOperator's ParmVarDecls and do the same with the static-invoker (since it is a dummy function that forwards everything to the lambda's call operator?) - or do i absolutely have to create new ones?  



http://llvm-reviews.chandlerc.com/D1831



More information about the cfe-commits mailing list