From: Chandler Carruth Date: Tue, 4 Dec 2012 09:44:38 +0000 (+0000) Subject: Teach the include sorting script about the gtest headers; sort them with X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ff3d66222634fabad236423e454c0b9bd631084;p=oota-llvm.git 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 --- 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