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

PR for llvm/llvm-project#68901 #778

Merged
merged 2 commits into from
Nov 20, 2023
Merged

PR for llvm/llvm-project#68901 #778

merged 2 commits into from
Nov 20, 2023

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Nov 15, 2023

usx95 and others added 2 commits November 15, 2023 13:11
`S.getScopeForContext` determins the **active** scope associated with
the given `declContext`.
This fails to find the matching `operator!=` if candidate `operator==`
was found via ADL since that scope is not active.

Instead, just directly lookup using the namespace decl of `operator==`

Fixes #68901

(cherry picked from commit 9330261143ccbe947ef0687fd20747ba47f26879)
@usx95
Copy link
Contributor

usx95 commented Nov 15, 2023

This is a bad merge. It should contain both commits from llvm/llvm-project@release/17.x...usx95:llvm-project:release/17.x

Copy link
Contributor

@usx95 usx95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bad merge. This PR should be abandoned.

Copy link
Contributor

@usx95 usx95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR now contains both the relevant commits.

@tru tru merged commit 442401f into release/17.x Nov 20, 2023
7 of 8 checks passed
@tru tru deleted the usx95-release/17.x branch November 20, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++20 reversed operator== not properly suppressed by operator!= in namespace
3 participants