From 1ff3d66222634fabad236423e454c0b9bd631084 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 4 Dec 2012 09:44:38 +0000 Subject: [PATCH] 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 --- utils/sort_includes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sort_includes.py b/utils/sort_includes.py index 9812cf1eff7..855cb38ad59 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 -- 2.34.1