[clang] [Clang] Only compare template params of potential overload after checking their decl context (PR #78139)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 06:35:40 PST 2024


================
@@ -24,11 +24,6 @@ class Y {
   void k() &&; // expected-error{{cannot overload a member function with ref-qualifier '&&' with a member function without a ref-qualifier}}
 };
 
-struct GH76358 {
----------------
cor3ntin wrote:

Completely accidental, i did not notice...

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


More information about the cfe-commits mailing list