================
@@ -269,8 +269,7 @@ namespace cwg625 { // cwg625: 2.9
   void f(int);
   void (*p)(auto) = f;
   // cxx98-error@-1 {{'auto' type specifier is a C++11 extension}}
-  // cxx98-17-error@-2 {{'auto' not allowed in function prototype}}
----------------
Endilll wrote:

I think this diagnostic should've been replaced with the new `ext_auto_arg` 
instead of being removed. Right now there is nothing pointing out that `auto` 
parameters are an extension in C++11 through C++17.

https://github.com/llvm/llvm-project/pull/200670
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to