[clang] [clang-tools-extra] [Clang] Add a builtin that deduplicate types into a pack (PR #106730)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 19 08:17:23 PDT 2025
================
@@ -228,7 +228,9 @@ void threadSafetyCleanup(BeforeSet *Cache);
// FIXME: No way to easily map from TemplateTypeParmTypes to
// TemplateTypeParmDecls, so we have this horrible PointerUnion.
-typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType *, NamedDecl *>,
+typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType *, NamedDecl *,
+ const TemplateSpecializationType *,
+ const SubstBuiltinTemplatePackType *>,
----------------
zyn0217 wrote:
I think we could leave it as-is :) No fixme nor issue is required because one would notice that when adding new types
https://github.com/llvm/llvm-project/pull/106730
More information about the cfe-commits
mailing list