Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clang] fix merging of UsingShadowDecl #80245

Merged
merged 1 commit into from
May 30, 2024

Commits on May 30, 2024

  1. [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
    fd8634a.
    
    This problem could manifest itself as ODR check false positives
    when importing modules.
    
    Fixes: #80252
    mizvekov committed May 30, 2024
    Configuration menu
    Copy the full SHA
    9763cc9 View commit details
    Browse the repository at this point in the history