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
Make it no longer an error if a file specifies a mapping explicitly, and is also in a glob pattern. I was just lazy before, but with the new Extend() method, it's actually less code now with this change! More... almost 14 years ago
Testing MOE. Should be a no-op More... almost 14 years ago
Log when we add a new include mapping, at a high enough verbosity. More... almost 14 years ago
Support @headername pragmas. Right now the parsing is pretty primitive - we might want to beef it up. More... almost 14 years ago
Fix up the handling of fwd-decls in some situations. These situations are ones where iwyu requires a full definition but the language allows a forward-declare. This causes trouble in cases like: class Foo; typedef Foo Bar; class Foo { ... }; More... almost 14 years ago
Replace assert() by CHECK_, which is always executed, even in opt mode. More... almost 14 years ago
Augment the fwd-decl nested class test to work on templated nested classes as well. This turned up two bugs: (1) we were ignoring the possibility of templates entirely in VisitTagDecl (though just for this case, not other parts of the code), and (2) we weren't using the proper decl_for_forward_declaring when forward-declaring the decl, that properly encodes the template information. More... almost 14 years ago
The intends-to-provide code wasn't working quite right. If I #include <vector>, then I intend-to-provide <vector>: you don't have to #include <vector> just because I use it in my (presumably templated) code, because I'm #including <vector> for you. However, this logic runs before the private->public mappings are done, so you're never actually wondering about <vector>, you're wondering about <bits/stl_vector.h>. More... almost 14 years ago
Change SortIncludesInFiles to return the number of files modified as well. Now all code-paths are consistent. More... almost 14 years ago
Minor fixups based on wan's review: fix an include-header guard to match the new location, and fix a comment. More... almost 14 years ago
Attempted to improve the readability of the return semantics of fix_includes. More... almost 14 years ago
Change fix_includes to have an exit-code of 0 if no files needed to be modified (or, in --dry_run mode, no files would have been modified) and 1 otherwise. More... almost 14 years ago
Attempting to get nested class forward declarations right. More... almost 14 years ago
Fix a bug where we were allowing iwyu to suggest that .h files should add .cc files due to macros (though not other symbols). More... almost 14 years ago
Move the check_also test to tests/, so it can run under the run_iwyu_tests framework. This is the first use of the _iwyu_flags_map framework, which had to be fixed up a bit to work. More... almost 14 years ago
Rename no_such_file to be in the same directory as all the other files. More... almost 14 years ago
drheld pointed out that iwyu was violating its most basic 'include what you use' mantra when it came to forward declares: before this CL, it said, "if someone you are #including from forward-declares a class for you, you don't have to forward-declare that class yourself." But that means you can't refactor .h files to remove unnecessary forward-declares. If you need to forward-declare something, you should forward-declare it yourself, not get that fwd-decl from an #include. More... almost 14 years ago
Small cleanups based on wan's suggestions: introduce a new stl convenience routine, some pointer->ref changes. More... almost 14 years ago
Fixes compiler error in iwyu_test.cc. More... almost 14 years ago
Make sure ASTNode::ContentIs() always fails if the types don't match. This is necessary when the input is NULL. More... almost 14 years ago
Resolve a TODO with storing pointers to temporaries in the ASTFlattenerVisitor. We now store full types instead when needed. A lot more machinery, alas. :-( More... almost 14 years ago
At wan's suggestion, reorganize this code to keep the public/private information in a separate data structure from the mapping. Besides being a bit clearer to follow, this makes it easier to verify that we're consistent in declaring a file public or private. We now do verify this, which turned up a few inconsistencies in the hard-coded data (not anything major), which I've fixed. More... almost 14 years ago
The attached patch provides the following improvements to GetCanonicalName: More... almost 14 years ago
Update the driver code to support 'response files', to match the additions to the clang driver code in r108697: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100719/032322.html More... almost 14 years ago
Drat, I have to remember to run 'svn status' before committing! These are new test files that go with the last checkin. More... almost 14 years ago
Oops, I missed this in the last commit. More... almost 14 years ago
* Rewrite iwyu_include_picker; now more pragma-friendly (csilvers) * Add support for FakeNamedDecls for tests (dsturtevant) * Write our own symbol sanitizer rather than getQualified... (csilvers) * Change run_iwyu_tests to better fit python test framework (csilvers) * Revamp IWYU pragmas, now support keep + export + private (dsturtevant) * Fix a bug when nested classes are defined out of line (csilvers) * Add the ability to print an arbitrary ASTNode (csilvers) More... almost 14 years ago
Make iwyu compile again against the head of Clang/LLVM, following this change: More... almost 14 years ago
Fix the relative-path handling to work better on windows. More... almost 14 years ago
Fix the top-of-file comment. More... almost 14 years ago