Re: [PATCH 00/29] Remove some unused includes

2022-05-11 Thread Daniel P . Berrangé
On Thu, May 12, 2022 at 01:25:01AM +0800, Adam Tao wrote: > On 5/12/2022 12:25 AM, Daniel P. Berrangé wrote: > > On Wed, May 11, 2022 at 09:55:01PM +0800, Peng Liang wrote: > >> Recently, I update the toolchain in my dev machine from LLVM13 to LLVM14, > >> and I find that there are many unsed

Re: [PATCH 00/29] Remove some unused includes

2022-05-11 Thread Adam Tao
On 5/12/2022 12:25 AM, Daniel P. Berrangé wrote: > On Wed, May 11, 2022 at 09:55:01PM +0800, Peng Liang wrote: >> Recently, I update the toolchain in my dev machine from LLVM13 to LLVM14, >> and I find that there are many unsed include headers in the libvirt. So >> I try to remove them in this

Re: [PATCH 00/29] Remove some unused includes

2022-05-11 Thread Daniel P . Berrangé
On Wed, May 11, 2022 at 09:55:01PM +0800, Peng Liang wrote: > Recently, I update the toolchain in my dev machine from LLVM13 to LLVM14, > and I find that there are many unsed include headers in the libvirt. So > I try to remove them in this series. So is clang actually reporting that the headers

[PATCH 00/29] Remove some unused includes

2022-05-11 Thread Peng Liang
Recently, I update the toolchain in my dev machine from LLVM13 to LLVM14, and I find that there are many unsed include headers in the libvirt. So I try to remove them in this series. Besides, I also find that: 1. some header files are not self-contained, which means if you want to include one