Add polly support to sort_includes.py
authorTobias Grosser <tobias@grosser.es>
Sat, 9 May 2015 09:08:56 +0000 (09:08 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 9 May 2015 09:08:56 +0000 (09:08 +0000)
commitfcae7eada13c33d57ac52ba56d875ffd25333f63
tree0be0ceede3a595a05c5f985e42e878e99c98c0d5
parent31e094b55d95a2ff61d88960543a279733dcb951
Add polly support to sort_includes.py

Changes:
 -  Add "isl/" as a system library prefix. Even though isl is regularly
    imported into polly, it is still used like an external library.
 -  Add "json/" as a system library prefix. Polly uses json-cpp as external
    library.
 -  Distinguish between llvm and subproject libraries. Always sort subprojects
    before LLVM. This was already the case with clang, as 'clang' comes before
    'llvm', but we also want 'polly' to be sorted before 'llvm'.

The sorting of headers that are not part of Polly or isl remains unchanged.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236929 91177308-0d34-0410-b5e6-96231b3b80d8
utils/sort_includes.py