[all-commits] [llvm/llvm-project] 9763cc: [clang] fix merging of UsingShadowDecl
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Wed May 29 23:02:05 PDT 2024
Branch: refs/heads/users/mizvekov/bug/clang-merge-usingshadowdecl
Home: https://github.com/llvm/llvm-project
Commit: 9763cc9e6f081bc28b74164c77a2b80ac42aec1c
https://github.com/llvm/llvm-project/commit/9763cc9e6f081bc28b74164c77a2b80ac42aec1c
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ASTContext.cpp
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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list