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

Andrey Ali Khan Bolshakov via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 8 13:29:20 PDT 2024


bolshakov-a wrote:

> From past conversations with IWYU maintainer, this was desirable, since IWYU rolls its own resugarer, which is faulty and difficult to maintain.

I just want to mention that, actually, IWYU doesn't probably need any resugarer at all. A type template argument as-written is needed just to decide whether its canonical type should be reported for `#include`ing or not (e.g. because the `typedef` author has provided it already). Another way to do it is to collect a list of types blocked for reporting before scanning the instantiated template. I started rewriting IWYU in that direction some time ago.

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


More information about the lldb-commits mailing list