D2275: formatting: enforce system headers before local headers

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Feb 14 23:39:48 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGd97db568f7e7: formatting: enforce system headers before local headers (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2275?vs=5747&id=5751

REVISION DETAIL
  https://phab.mercurial-scm.org/D2275

AFFECTED FILES
  .clang-format

CHANGE DETAILS

diff --git a/.clang-format b/.clang-format
--- a/.clang-format
+++ b/.clang-format
@@ -6,3 +6,8 @@
 IndentCaseLabels: false
 AllowShortBlocksOnASingleLine: false
 AllowShortFunctionsOnASingleLine: false
+IncludeCategories:
+  - Regex:           '^<'
+    Priority:        1
+  - Regex:           '^"'
+    Priority:        2



To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list