[clang] [SemaCXX] Fixed defaulted equality operator deletion issue (#97087)[SemaCXX] Fix defaulted equality operator being incorrectly deleted when using namespace (llvm#97087) (PR #166996)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 19 18:53:24 PST 2025
================
@@ -8913,6 +8915,9 @@ bool Sema::CheckExplicitlyDefaultedComparison(Scope *S, FunctionDecl *FD,
// Perform any unqualified lookups we're going to need to default this
// function.
+ if (!S)
----------------
erichkeane wrote:
This doesn't align right with the comment. This probably needs a comment itself as well.
https://github.com/llvm/llvm-project/pull/166996
More information about the cfe-commits
mailing list