[all-commits] [llvm/llvm-project] 895c61: [clang] fix merging of UsingShadowDecl
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Wed Jan 31 23:23:25 PST 2024
Branch: refs/heads/users/mizvekov/bug/clang-merge-usingshadowdecl
Home: https://github.com/llvm/llvm-project
Commit: 895c615a354d540c4e4404fa728bfad2a962c7bf
https://github.com/llvm/llvm-project/commit/895c615a354d540c4e4404fa728bfad2a962c7bf
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-02-01 (Thu, 01 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/test/Modules/cxx20-decls.cppm
Log Message:
-----------
[clang] fix merging of UsingShadowDecl
Previously, when deciding if two UsingShadowDecls where mergeable,
we would incorrectly only look for both pointing to the exact redecla
ration, whereas the correct thing is to look for declarations to the
same entity.
This problem has existed as far back as 2013, introduced in commit
fd8634a09de71.
This problem could manifest itself as ODR check false positives
when importing modules.
Fixes: #80252
More information about the All-commits
mailing list