[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:38:53 PDT 2024


================
@@ -412,6 +445,30 @@ class SubstTemplateTemplateParmStorage
                       std::optional<unsigned> PackIndex);
 };
 
+class DeducedTemplateStorage : public UncommonTemplateNameStorage,
----------------
mizvekov wrote:

This one is a too internal detail of how the different kinds of TemplateNames are implemented. Ie if we can't fit everything we need in one pointer, then we allocate separate storage for it.
Might be more useful to document the DeducedTemplate itself.

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


More information about the cfe-commits mailing list