diff .clang-format @ 37010: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 (2018-02-15)
parents e33381d95930
children
line wrap: on
line diff
--- a/.clang-format
+++ b/.clang-format
@@ -6,3 +6,8 @@
 IndentCaseLabels: false
 AllowShortBlocksOnASingleLine: false
 AllowShortFunctionsOnASingleLine: false
+IncludeCategories:
+  - Regex:           '^<'
+    Priority:        1
+  - Regex:           '^"'
+    Priority:        2