| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
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 prevents undesired implicit conversions
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Rather than passing a triple of short, long, is_old, pass an option
as a string and then a type
|
|
|
|
|
|
|
| |
Rather than storing short and long options separately, using
a complicated set of invariants, store them in a single string
and use an explicit type complete_option_type_t to track how they
are interpreted.
|
|
|
|
|
| |
Fixes a case where a --wraps declaration would be missed
because the function would not be loaded. Fixes #2466.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
In a few places, we need to add a prefix to completions that
replace the token. This change factors that logic into its
own function prepend_token_prefix.
|
|\
| |
| |
| | |
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
|