llvm-project/clang-tools-extra/include-cleaner/test
Sam McCall 1a8dd74258 [include-cleaner] clang-include-cleaner can print/apply edits
This adds command-line flags to the tool:
+ -print: prints changed source code
+ -print=changes: prints headers added/removed
+ -edit: rewrites code in place
+ -insert=0/-remove=0: disables additions/deletions for the above

These are supported by a couple of new functions dumped into Analysis:
analyze() sits on top of walkUsed and makes used/unused decisions for
Includes. fixIncludes() applies those results to source code.

Differential Revision: https://reviews.llvm.org/D139013
2022-12-02 13:16:58 +01:00
..
Inputs [include-cleaner] clang-include-cleaner can print/apply edits 2022-12-02 13:16:58 +01:00
Unit
.clang-format [include-cleaner] don't clang-format tests. NFC 2022-11-30 16:12:40 +01:00
CMakeLists.txt [include-cleaner] Add line numbers to HTML output 2022-10-19 00:21:33 +02:00
html.cpp [include-cleaner] Add include-cleaner tool, with initial HTML report 2022-10-18 18:09:41 +02:00
lit.cfg.py
lit.site.cfg.py.in
tool.cpp [include-cleaner] clang-include-cleaner can print/apply edits 2022-12-02 13:16:58 +01:00