summaryrefslogtreecommitdiff
path: root/utils/sort_includes.py
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-04 09:44:38 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-04 09:44:38 +0000
commit1ff3d66222634fabad236423e454c0b9bd631084 (patch)
tree7501ec2e31590c27d0d30b0c3f8a9fb2ccce70ed /utils/sort_includes.py
parent4cd0a82fbf0b624bb5925b711204451c2734007e (diff)
downloadllvm-1ff3d66222634fabad236423e454c0b9bd631084.tar.gz
llvm-1ff3d66222634fabad236423e454c0b9bd631084.tar.bz2
llvm-1ff3d66222634fabad236423e454c0b9bd631084.tar.xz
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-xutils/sort_includes.py2
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