| Commit message (Collapse) | Author | Age |
|
|
|
| |
And re-run IWYU, adjust #includes.
|
|
|
|
|
| |
Enable build setting to allow Xcode to complain about invalid
comments.
|
|
|
|
|
|
|
|
| |
This only eliminates errors reported by `make lint`. It shouldn't cause any
functional changes.
This change does remove several functions that are unused. It also removes the
`desc_arr` variable which is both unused and out of date with reality.
|
|
|
|
|
|
| |
Reduces lint errors from 72 to 44 (-43%). Line count from 1698 to 1313 (-23%).
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
|
|
|
|
|
|
| |
Introduces a new template moved_ref which is like an rvalue reference.
This allows passing around objects while being explicit that the
receiver may acquire ownership. This will help reduce some allocations.
|
|
|
|
| |
This prevents undesired implicit conversions
|
|
|
|
| |
It doesn't use any properties of parser_t
|
|
|
|
| |
Errors are now unconditionally shown
|
|
|
|
| |
It was never fully implemented and wasn't used for anything
|
|
|
|
|
|
|
| |
This change eliminates global variables like stdout_buffer. Instead we wrap up
the IO information into a new struct io_streams_t, and thread that through
every builtin. This makes the intent clearer, gives us a place to hang new IO
data, and eliminates the ugly global state management like builtin_push_io.
|
|\
| |
| |
| | |
http://include-what-you-use.org/
|
| |
| |
| |
| |
| | |
Replace uses of vector<completion_t>& with vector<completion_t>*
This makes it clear at the call site that the object may be mutated.
|
| | |
|
|/ |
|
|
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
|