[llvm] Automatic removal of unused standard header (PR #192800)

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 10:42:37 PDT 2026


androm3da wrote:

> patch automatically generated through
> 
> $ diskarzhan --fix `find llvm/lib llvm/include -name '*.cpp' -or -name '*.h'`

Sorry if it's a stupid question - does the tool consider whether C/C++ library includes incidentally/indirectly are taking place?  In which case it might appear to be unused only because some other prior include pulled it in (for this particular C/C++ library implementation, for this particular version of it etc).

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


More information about the llvm-commits mailing list