forked from OSchip/llvm-project
a47515ec4a
Instead of just using popularity, we also take into account how similar the path of the current file is to the path of the header. Our first approach is to get popularity into a reasonably small scale by taking log2 (which is roughly intuitive to how humans would bucket popularity), and multiply that with the number of matching prefix path fragments of the included header with the current file. Note that currently we do not take special care for unclean paths containing "../" or "./". Differential Revision: https://reviews.llvm.org/D28548 llvm-svn: 291664 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ClangIncludeFixer.cpp | ||
clang-include-fixer-test.el | ||
clang-include-fixer.el | ||
clang-include-fixer.py |