[clang] [clang-tools-extra] [Clang] Add a builtin that deduplicate types into a pack (PR #106730)

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 11 10:47:38 PDT 2025


================
@@ -25,6 +25,7 @@
 #include "clang/AST/RawCommentList.h"
 #include "clang/AST/SYCLKernelInfo.h"
 #include "clang/AST/TemplateName.h"
+#include "clang/AST/Type.h"
----------------
ilya-biryukov wrote:

I believe Clangd added it for `SubstBuiltinTemplatePackType` and it seems reasonable as the file uses it directly.
I have removed it per your suggestions, but I actually do not see a problem with "include what you see".

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


More information about the cfe-commits mailing list