After r304962, it should now produce messages like:
'foo' defined here has different definitions in different modules; first
difference is this unexpected decl
but in 'Module' found another unexpected decl
'foo' with definition in module 'FirstModule' has different definitions in
different module
Yes, I will go correct the diagnostic text.
In theory, there is nothing that is supposed to reach this diagnostic or
the one below it. Except that the hasher isn't complete yet and some
things slip through. Once things are more stable, these should be replaced
with llvm_unreachable instead.
On
On 7 June 2017 at 17:56, Richard Trieu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: rtrieu
> Date: Wed Jun 7 19:56:21 2017
> New Revision: 304956
>
> URL: http://llvm.org/viewvc/llvm-project?rev=304956&view=rev
> Log:
> [ODRHash] Change the fall-back diagnostic error.
>
> Provid
Author: rtrieu
Date: Wed Jun 7 19:56:21 2017
New Revision: 304956
URL: http://llvm.org/viewvc/llvm-project?rev=304956&view=rev
Log:
[ODRHash] Change the fall-back diagnostic error.
Provide a little more information when a ODR violation is detected, but the
specific error could not be diagnosed.