diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 07:04:58 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 07:04:58 +0000 |
commit | 6cb571968901701212570cbb2ab34cf4af6ba51e (patch) | |
tree | 178d3b2ef313718bdebe0dc79e44ac66c19af499 /lib/VMCore | |
parent | 8a0ff3a2659e64408c76507ff0514748b6744b06 (diff) | |
download | external_llvm-6cb571968901701212570cbb2ab34cf4af6ba51e.zip external_llvm-6cb571968901701212570cbb2ab34cf4af6ba51e.tar.gz external_llvm-6cb571968901701212570cbb2ab34cf4af6ba51e.tar.bz2 |
Address review comments from Matt on the sort_includes.py script.
1) Teach it to handle files with #include on the first line -- these do
actually exist in LLVM.
2) Support llvm-c and clang-c include projects.
3) Nuke some stail imports.
4) Switch to using os.path to split the file extension off.
5) Remove debugging leftovers.
6) Add docstring (a really puny one) for the sort function.
I'm continuing te avoid stripping the whitespace on the RHS to preserve
whatever newline characters happen to be in the original file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
0 files changed, 0 insertions, 0 deletions