• Philip Chimento's avatar
    maint: Fix header includes once and for all · 01920362
    Philip Chimento authored
    Previously #include statements were a bit of a mess across the codebase.
    This commit is the result of a pass by the IWYU (Include What You Use)
    tool, which suggests headers to add or remove based on what is in the
    file, and can also suggest forward-declaring classes instead of
    including their headers, if they are only used as a pointer in a
    particular file. Cleaning this up should in general speed up compile
    times.
    
    IWYU isn't perfect, it produces a number of false positives, so we don't
    try to automate this process and we don't accept all of its
    recommendations. We do add a script and configuration file to the tools/
    directory so that IWYU can be every so often in the future.
    
    We also clean up all the includes according to a consistent style, which
    is now described clearly in the C++ style guide.
    01920362
Name
Last commit
Last update
..
_bootstrap Loading commit data...
overrides Loading commit data...
tweener Loading commit data...
_legacy.js Loading commit data...
byteArray.js Loading commit data...
cairo-context.cpp Loading commit data...
cairo-gradient.cpp Loading commit data...
cairo-image-surface.cpp Loading commit data...
cairo-linear-gradient.cpp Loading commit data...
cairo-module.h Loading commit data...
cairo-path.cpp Loading commit data...
cairo-pattern.cpp Loading commit data...
cairo-pdf-surface.cpp Loading commit data...
cairo-private.h Loading commit data...
cairo-ps-surface.cpp Loading commit data...
cairo-radial-gradient.cpp Loading commit data...
cairo-region.cpp Loading commit data...
cairo-solid-pattern.cpp Loading commit data...
cairo-surface-pattern.cpp Loading commit data...
cairo-surface.cpp Loading commit data...
cairo-svg-surface.cpp Loading commit data...
cairo.cpp Loading commit data...
cairo.js Loading commit data...
console.cpp Loading commit data...
console.h Loading commit data...
format.js Loading commit data...
gettext.js Loading commit data...
jsUnit.js Loading commit data...
lang.js Loading commit data...
mainloop.js Loading commit data...
modules.cpp Loading commit data...
modules.gresource.xml Loading commit data...
modules.h Loading commit data...
package.js Loading commit data...
signals.js Loading commit data...
system.cpp Loading commit data...
system.h Loading commit data...