[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Playing with include-what-you-use shows interesting stuff
From:       Baptiste Daroussin <bapt () FreeBSD ! org>
Date:       2012-03-21 8:36:01
Message-ID: 20120321083601.GF9629 () azathoth ! lan
[Download RAW message or body]


Hi,

I've been playing with the include-what-you-use[1] llvm tool for some on my
personnal projects, as it works very well, I have also played with it on our
source tree starting with the bin directory.

It shows some interesting results, while the default output is quite aggressive,
I just chose to remove the "useless" headers in each sources.

It show some interesting results which seems to come from maybe bad includes in
some of our headers.

Apparently some of the #include <sys/param.h> are false positive because others
headers shouldn't include it for example (according to des)

here is a diff showing what I find that can be removed:
http://people.freebsd.org/~bapt/include-what-you-use.diff

I think it shouldn't be applied as it but be more analyzed.

regards,
Bapt

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic