Skip to content
  • Chandler Carruth's avatar
    Address review comments from Matt on the sort_includes.py script. · 43342d5c
    Chandler Carruth authored
    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.
    
    llvm-svn: 169222
    43342d5c
Loading