2
I Use This!
Activity Not Available

Commits : Listings

Analyzed about 1 year ago. based on code collected about 1 year ago.
Jan 20, 2023 — Jan 20, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Fixes a typo in an IWYU pragma. More... almost 14 years ago
Include-what-you-use fixit -- fix #includes on iwyu itself. More... almost 14 years ago
Include-what-you-use fixes by running it on itself. More... almost 14 years ago
Revamp dependency checking. More... almost 14 years ago
Don't try forward-declaring stuff from __gnu_cxx or other system namespaces: we shouldn't expose system internals in user code. More... almost 14 years ago
Fix two bugs in one! More... almost 14 years ago
Fix two little-ish bugs: More... almost 14 years ago
Add the ability to add arbitrary comments to the warning messages that iwyu produces (and that are shown with --mode=why for iwyu.py). Use this ability to comment two non-obvious warnings we give: when requiring a full use because of autocasting (one-arg, not-explicit constructor), and when requiring a full use for the return type of a function declaration. Update appropriate existing tests to check for the comment when appropriate. More... almost 14 years ago
Don't accept stdio.h as a substitute for stdarg.h if va_list is used. We don't want to remove stdarg.h if it is the correct header to use. More... almost 14 years ago
If --checkout command is "v4 edit" or "g4 edit" and --create_cl_if_possible is specified (default, yes), and if all files to modify were read-only, create a checkout cl and put the files into it. This may not be so appropriate for opensource. More... almost 14 years ago
Makes fix_includes correctly handle the case when there's no file to be fixed. More... almost 14 years ago
noop More... almost 14 years ago
For some reason clang doesn't see stdarg.h as providing va_list. stdio.h seems to, at least for gcc, via a check against _VA_LIST_DEFINED, so I leave stdio.h as an acceptable place to get va_list as well. More... almost 14 years ago
When calling CanIgnoreType() on the CastExpr, we were calling it on the pointer, rather than the underlying type. Since CastExpr is asking whether we need the full type of the underlying type, we should be asking CanIgnoreType() about the underlying type as well. More... almost 14 years ago
New pragma "friend". Usage: // IWYU pragma: friend <glob> Filenames matching the glob are allowed to include the file, which has presumably been declared private. More... almost 14 years ago
Teaches IWYU more <foo.h> => <cfoo> mappings. More... almost 14 years ago
Makes fix_includes.py (and therefore iwyu.py) print instructions on how the user may test the changes IWYU introduced. More... almost 14 years ago
1) Avoid signed/unsigned comparisons. 2) Add iwyu violation for stdio.h to iwyu_globals.cc. More... almost 14 years ago
Forgot to add this new .cc file to the cmake list. Suggested by [email protected]. Fixes http://code.google.com/p/include-what-you-use/issues/detail?id=32 More... almost 14 years ago
Nobody seems to like the comments next to the #include lines but me. :-( Turn them off by default. More... almost 14 years ago
Makes it possible to use iwyu.py to clean up code in third_party/ if the user *chooses* to. More... almost 14 years ago
Do some more private->public decl mappings for iterator types. This one only shows up with reverse_iterator<list>. More... almost 14 years ago
Drop commenting on candidate lines for removal to reduce the noise of changes during the fixit as most of the fixit will run in phase one now. More... almost 14 years ago
We weren't handling properly c-style comments that started at the beginning of the line but didn't go to the end. I thought this wouldn't happen in google code, but it does in macros: #define FOO \ /* doing something cool now */ \ ... More... almost 14 years ago
In some cases, the definition of a class can be in the same exact location as a use: struct Foo { int x; int y; } myvar; (or, what we were seeing in practice: struct { int x; int y; } myvar; ). More... almost 14 years ago
Small cleanup: rename GetRedecls to GetNonclassRedecls, to distinguish it farom GetClassRedecls. I've decided to keep the two separate since classes and not-classes are treated very differently in iwyu, so iwyu code shouldn't (I don't think) be calling a common function for both. If that proves to be wrong, we can combine them later, but I want us to at least be thinking about whether it's the right thing to do. More... almost 14 years ago
Minor improvements to GetRedecls(): More... almost 14 years ago
Add function return types to the list of things that iwyu requires the full type of even when c++ does not. As with typedefs and autocasts, it's nice if the function provides the return type so callers don't have to, but if the function doesn't want to, we'll just make all the callers do instead. More... almost 14 years ago
Rename --safe to the more-accurate --safe_headers. More... almost 14 years ago
Blah, meant to add this to CL 20836354 and forgot. :-( Submitting it now. More... almost 14 years ago