| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
And re-run IWYU, adjust #includes.
|
|
|
|
|
|
|
| |
This remove some stores that clang assures me are very dead.
And an assert() for an unlikely NULL pointer dereference I can't quite
figure out.
|
|
|
|
| |
Minor cleanup related to issue #2199.
|
|
|
|
|
| |
Enable build setting to allow Xcode to complain about invalid
comments.
|
|
|
|
|
|
|
|
| |
The autoconf-generated config.h contains a number of directives which
may alter the behaviour of system headers on certain platforms. Always
include it in every C++ file as the first include.
Closes #2993.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I missed restyling a few "switch" blocks to make them consistent with the rest
of the code base. This fixes that oversight. This should be the final step in
restyling the C++ code to have a consistent style. This also includes a few
trivial cleanups elsewhere.
I also missed restyling the "complete" module when working my way from a to z
so this final change includes restyling that module.
Total lint errors decreased 36%. Cppcheck errors went from 47 to 24. Oclint P2
errors went from 819 to 778. Oclint P3 errors went from 3252 to 1842.
Resolves #2902.
|
|
|
|
|
|
| |
Reduces lint errors from 65 to 25 (-63%). Line count from 1439 to 1218 (-15%).
Another step in resolving issue #2902.
|
|
|
|
|
|
|
|
|
| |
Remove the "make iwyu" build target. Move the functionality into the
recently introduced lint.fish script. Fix a lot, but not all, of the
include-what-you-use errors. Specifically, it fixes all of the IWYU errors
on my OS X server but only removes some of them on my Ubuntu 14.04 server.
Fixes #2957
|
| |
|
|
This change moves source files into a src/ directory,
and puts object files into an obj/ directory. The Makefile
and xcode project are updated accordingly.
Fixes #1866
|