Ayush3941 wrote:

> Ok, so the root issue I think is related to k&r function decls (which is why 
> it doesn't work in c++), to make it slightly clearer, this repros the issue:
> 
> ```c
> void g(h(z)...);
> ```
> 
> This appears to result in us diagnosing the ellipsis error after parsing the 
> param name (k&r, hooray), but we haven't yet parsed the rest of the decl when 
> emitting the ellipsis diagnostic.

just to confirm before change, does this mean you want me to change the test or 
the PR looks good

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

Reply via email to