On 07/19/2013 05:00 AM, Adam Butcher wrote:
+      warning (0, "Conversion of a generic lambda to a function pointer is not
currently implemented.");
...
+                        "Generic lambdas are only supported in C++1y mode.");

We generally don't capitalize diagnostics or end them with a period. And the second message should mention "-std=c++1y or -std=gnu++1y".

+      push_deferring_access_checks (dk_deferred);

Why do you need this?

+/* Nonzero if the function being declared was made a template due to it's

"its"

+         error ("parameter declared %<auto%> (unsupported prior to C++1y)");

This should also mention the compiler flags. We should probably introduce a maybe_warn_cpp1y function to go along with ..._cpp0x.

+  else // extend current template parameter list

Do we still need to do this, now that we're handling all the parameters at the end of the parameter list?

Jason

Reply via email to