[clang] [clang-tools-extra] [clang] Implement CWG2398 provisional TTP matching to class templates (PR #94981)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 13:48:59 PDT 2024


================
@@ -326,6 +320,48 @@ namespace classes {
       // expected-error at -1 {{no matching function for call}}
     }
   } // namespace packs
+  namespace nested {
----------------
mizvekov wrote:

The test case from 100692 doesn't have anything interesting new on top of this one. There might be differences in the kinds of template arguments which have default deductions, but we already test all kinds when matching TTP to  TTP, so I am not sure it would be worth doing a power set where we test every combination of matching with every kind.

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


More information about the cfe-commits mailing list