diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:44:38 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-04 09:44:38 +0000 |
commit | 1ff3d66222634fabad236423e454c0b9bd631084 (patch) | |
tree | 7501ec2e31590c27d0d30b0c3f8a9fb2ccce70ed /utils/sort_includes.py | |
parent | 4cd0a82fbf0b624bb5925b711204451c2734007e (diff) |
Teach the include sorting script about the gtest headers; sort them with
the system headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/sort_includes.py')
-rwxr-xr-x | utils/sort_includes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sort_includes.py b/utils/sort_includes.py index 9812cf1eff..855cb38ad5 100755 --- a/utils/sort_includes.py +++ b/utils/sort_includes.py @@ -35,7 +35,7 @@ def sort_includes(f): api_headers.append(header) look_for_api_header = False continue - if header.startswith('<'): + if header.startswith('<') or header.startswith('"gtest/'): system_headers.append(header) continue if (header.startswith('"llvm/') or header.startswith('"llvm-c/') or |