[cfe-dev] Possible regression with implicit function redefinition:

John McCall via cfe-dev cfe-dev at lists.llvm.org
Tue Oct 3 17:21:09 PDT 2017


> On Oct 3, 2017, at 7:35 PM, Keane, Erich via cfe-dev <cfe-dev at lists.llvm.org> 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.



More information about the cfe-dev mailing list