[llvm-commits] [llvm] r169242 - /llvm/trunk/utils/sort_includes.py
Chandler Carruth
chandlerc at gmail.com
Tue Dec 4 01:44:38 PST 2012
Author: chandlerc
Date: Tue Dec 4 03:44:38 2012
New Revision: 169242
URL: http://llvm.org/viewvc/llvm-project?rev=169242&view=rev
Log:
Teach the include sorting script about the gtest headers; sort them with
the system headers.
Modified:
llvm/trunk/utils/sort_includes.py
Modified: llvm/trunk/utils/sort_includes.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/sort_includes.py?rev=169242&r1=169241&r2=169242&view=diff
==============================================================================
--- llvm/trunk/utils/sort_includes.py (original)
+++ llvm/trunk/utils/sort_includes.py Tue Dec 4 03:44:38 2012
@@ -35,7 +35,7 @@
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
More information about the llvm-commits
mailing list