[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 06:18:47 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:

Can you explain what is happening here?  Why are we no longer returning a type?

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


More information about the cfe-commits mailing list