mirror of
https://github.com/facebook/sapling.git
synced 2025-01-06 04:43:19 +03:00
clang-format: configuration for the clang-format source formatter
Differential Revision: https://phab.mercurial-scm.org/D1129
This commit is contained in:
parent
97fa443439
commit
8616945a99
8
.clang-format
Normal file
8
.clang-format
Normal file
@ -0,0 +1,8 @@
|
||||
BasedOnStyle: LLVM
|
||||
IndentWidth: 8
|
||||
UseTab: ForIndentation
|
||||
BreakBeforeBraces: Linux
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
IndentCaseLabels: false
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
@ -39,6 +39,7 @@ Prevent adding new files in the root directory accidentally.
|
||||
|
||||
$ testrepohg files 'glob:*'
|
||||
.arcconfig
|
||||
.clang-format
|
||||
.editorconfig
|
||||
.hgignore
|
||||
.hgsigs
|
||||
|
Loading…
Reference in New Issue
Block a user