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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 09:54:43 PDT 2024


================
@@ -9219,7 +9222,8 @@ class Sema final : public SemaBase {
   /// \returns true if an error occurred, false otherwise.
   bool CheckTemplateArgumentList(
       TemplateDecl *Template, SourceLocation TemplateLoc,
-      TemplateArgumentListInfo &TemplateArgs, bool PartialTemplateArgs,
+      TemplateArgumentListInfo &TemplateArgs,
----------------
erichkeane wrote:

There's enough repeated stuff though these interfaces here, I don't think I'd mind a followup that created an object to contain all the related stuff.  For example, the Sugared/Canonical vectors shoudl probably be a vectro of TempalteArgument pairs (or more likely their own structure) or something?  But I'm open to other ideas as well (agian in a followup).

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


More information about the cfe-commits mailing list