[Gluster-devel] include-what-you-use run on Gluster

Amar Tumballi atumball at redhat.com
Tue Dec 25 16:56:31 UTC 2018


Thanks for this initiative. This is very helpful.

Also noticed that all of the coverity issues of 'INCLUDE_RECURSION' would
also be solved by this list. I haven't analysed the whole list yet, but the
first 1000s of lines revealed that this is very useful.

-Amar


On Tue, Dec 25, 2018 at 10:18 PM Yaniv Kaul <ykaul at redhat.com> wrote:

> Now that I've fixed the paths, the attached report is a more accurate
> representation.
> Regretfully, it's not easy to apply as a patch.
>
> On Tue, Dec 25, 2018 at 9:53 AM Yaniv Kaul <ykaul at redhat.com> wrote:
>
>> I'm not sure I'm using it correctly and I'm having trouble compiling it
>> from source on my F29 machine, but include-what-you-use (
>> https://include-what-you-use.org ) allows you to easily analyze your
>> include statements and ensure accuracy. I believe it has found some issues
>> in our code - I certainly could remove some unneeded includes - but I'm
>> unsure if I need to follow all of its advises to make things work,
>> otherwise something will surely break.
>>
>> Attached please find the full analysis - hope it's useful for someone. I
>> believe once we figure out how to use it properly, it can be a good tool -
>> will probably reduce compile time in a negligible way too.
>>
>> Y.
>>
>> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-devel



-- 
Amar Tumballi (amarts)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20181225/0a9ede16/attachment.html>


More information about the Gluster-devel mailing list