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 | ed09f456e7e99076fc3490cde3d59201f3328c12 (patch) | |
tree | c328f61c8d765e25103c6e41aa0ee9cd23bcb9ae | |
parent | 8675b4af7736b2c7e41bda9f3ea450757c2b56c7 (diff) | |
download | bcm5719-llvm-ed09f456e7e99076fc3490cde3d59201f3328c12.tar.gz bcm5719-llvm-ed09f456e7e99076fc3490cde3d59201f3328c12.zip |
Teach the include sorting script about the gtest headers; sort them with
the system headers.
llvm-svn: 169242
-rwxr-xr-x | llvm/utils/sort_includes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/sort_includes.py b/llvm/utils/sort_includes.py index 9812cf1eff7..855cb38ad59 100755 --- a/llvm/utils/sort_includes.py +++ b/llvm/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 |