forked from OSchip/llvm-project
abafb655c8
Currently on http://clang.llvm.org/docs/ClangFormattedStatus.html there are format stats on files no actually inside the tree but generated by build scripts. These are usually copied from somewhere else. Right now for example there are files from `llvm/utils/release/llvm-package...`. Adding these files bloats the list while not giving an accurate representation of how formatted the repo is. This addresses this issue by checking the git index and ignoring any folder that doesn't contain tracked files. I'm still unsure whether it would be better to just do away with the `os.walk` method and just check over every file returned from `git ls-index <project-root>`. Reviewed By: MyDeveloperDay Differential Revision: https://reviews.llvm.org/D82707 |
||
---|---|---|
.. | ||
dump_ast_matchers.py | ||
dump_format_style.py | ||
generate_formatted_state.py |