[clang] [clang-tools-extra] [clang] Improved canonicalization for template specialization types (PR #135119)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 08:58:26 PDT 2025


================
@@ -3250,8 +3251,7 @@ checkBuiltinTemplateIdType(Sema &SemaRef, BuiltinTemplateDecl *BTD,
 
     TemplateArgument NumArgsArg = Converted[2];
     if (NumArgsArg.isDependent())
-      return Context.getCanonicalTemplateSpecializationType(TemplateName(BTD),
-                                                            Converted);
+      return QualType();
----------------
erichkeane wrote:

Ah, i think i see now.  Thanks!  I'm good now.  Feel free to commit after the above reordering


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


More information about the cfe-commits mailing list