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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to