[clang] [clang] [C++20] Defaulted operator== doesn't lookup in using-directive properly #97087 (PR #99542)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 07:22:43 PDT 2024


================
@@ -4856,7 +4856,7 @@ bool TemplateDeclInstantiator::SubstDefaultedFunction(FunctionDecl *New,
                    : DFI);
   }
 
-  SemaRef.SetDeclDefaulted(New, Tmpl->getLocation());
+  SemaRef.SetDeclDefaulted(nullptr, New, Tmpl->getLocation());
----------------
ofAlpaca wrote:

@Endilll 
I'm not sure if I miss some steps.
Do I need to update anything to make this PR available?

https://github.com/llvm/llvm-project/pull/99542


More information about the cfe-commits mailing list