.clang-format
author Gregory Szorc <gregory.szorc@gmail.com>
Tue, 08 Mar 2022 19:10:19 -0800
changeset 48959 9ac1a4507bb3
parent 36224 d0a3fa849cb8
permissions -rw-r--r--
pycompat: remove check for Python >= 3.6 We dropped support for Python 3.5 so this is always true. Differential Revision: https://phab.mercurial-scm.org/D12363

BasedOnStyle: LLVM
IndentWidth: 8
UseTab: ForIndentation
BreakBeforeBraces: Linux
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
IncludeCategories:
  - Regex:           '^<'
    Priority:        1
  - Regex:           '^"'
    Priority:        2