[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
Tue Jul 23 02:32:03 PDT 2024


================
@@ -124,7 +124,7 @@ NamedDecl *Parser::ParseCXXInlineMethodDef(
                       ? diag::warn_cxx98_compat_defaulted_deleted_function
                       : diag::ext_defaulted_deleted_function)
         << 0 /* defaulted */;
-      Actions.SetDeclDefaulted(FnD, KWLoc);
+      Actions.SetDeclDefaulted(nullptr, FnD, KWLoc);
----------------
ofAlpaca wrote:

Got it, I will go with `/*Scope=*/`.

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


More information about the cfe-commits mailing list