Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [modules] Rationalize the behavior of Decl::declarationReplaces, and in | Richard Smith | 2015-11-03 | 5 | -0/+18 |
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.) llvm-svn: 251898 |