[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] Reland: Instantiate alias templates with sugar (PR #101858)

Matheus Izvekov via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 5 09:04:24 PDT 2024


mizvekov wrote:

> @mizvekov, do you have any idea how to get back the lost `SubstTemplateTypeParmType`? It plays an important role in the IWYU tool analysis. Thanks!

So from my undertstanding, IWYU only needs the SubstTemplateTypeParmType for resugaring purposes, in order to recover the type as written by the user.

But with this patch we are doing the substitution already with sugar, so there is no need to resugar, so IWYU shouldn't need the SubstTemplateTypeParmType here anymore.

Does that make sense?


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


More information about the lldb-commits mailing list