Possible regression with implicit function redefinition:

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Possible regression with implicit function redefinition:

David Chisnall via cfe-dev
Hi all-
I discovered this example (https://godbolt.org/g/ZhViUu) in our internal test suite and discovered that Clang Trunk does not diagnose the "redeclaration as a different kind of symbol" anymore.  It seems to me that it SHOULD (since it would if it wasn't an implicit declaration), so I suspect that this is an issue, right?

-Erich
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Possible regression with implicit function redefinition:

David Chisnall via cfe-dev
> On Oct 3, 2017, at 7:35 PM, Keane, Erich via cfe-dev <[hidden email]> wrote:
> Hi all-
> I discovered this example (https://godbolt.org/g/ZhViUu) in our internal test suite and discovered that Clang Trunk does not diagnose the "redeclaration as a different kind of symbol" anymore.  It seems to me that it SHOULD (since it would if it wasn't an implicit declaration), so I suspect that this is an issue, right?

Yes, that seems like a bug.

John.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev