changeset 36224:d0a3fa849cb8

formatting: enforce system headers before local headers Differential Revision: https://phab.mercurial-scm.org/D2275
author Augie Fackler <augie@google.com>
date Wed, 14 Feb 2018 21:12:48 -0500
parents 2e07dc514073
children 6c87d4113a90
files .clang-format
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.clang-format	Mon Feb 12 17:20:20 2018 -0800
+++ b/.clang-format	Wed Feb 14 21:12:48 2018 -0500
@@ -6,3 +6,8 @@
 IndentCaseLabels: false
 AllowShortBlocksOnASingleLine: false
 AllowShortFunctionsOnASingleLine: false
+IncludeCategories:
+  - Regex:           '^<'
+    Priority:        1
+  - Regex:           '^"'
+    Priority:        2