r251898 - [modules] Rationalize the behavior of Decl::declarationReplaces, and in

Stephan Tolksdorf via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 18 11:19:43 PDT 2016


On 3 November 2015 at 04:13, Richard Smith via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> Author: rsmith
> Date: Mon Nov  2 21:13:11 2015
> New Revision: 251898
>
> URL: http://llvm.org/viewvc/llvm-project?rev=251898&view=rev
> Log:
> [modules] Rationalize the behavior of Decl::declarationReplaces, and in
> particular don't assume that two declarations of the same kind in the same
> context are declaring the same entity. That's not true when the same name
> is
> declared multiple times as internal-linkage symbols within a module.
> (getCanonicalDecl is cheap now, so we can just use it here.)
>

This commit from November seems to have triggered the issue described in
llvm.org/pr27317

- Stephan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160718/bf8ef7c9/attachment.html>


More information about the cfe-commits mailing list