Submitter | phabricator |
---|---|
Date | Oct. 16, 2017, 3:53 p.m. |
Message ID | <differential-rev-PHID-DREV-7ezlbpwpk5t4cgnsdxd5-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/24999/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/test-check-code.t b/tests/test-check-code.t --- a/tests/test-check-code.t +++ b/tests/test-check-code.t @@ -39,6 +39,7 @@ $ testrepohg files 'glob:*' .arcconfig + .clang-format .editorconfig .hgignore .hgsigs diff --git a/.clang-format b/.clang-format new file mode 100644 --- /dev/null +++ b/.clang-format @@ -0,0 +1,8 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +UseTab: ForIndentation +BreakBeforeBraces: Linux +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +AllowShortBlocksOnASingleLine: false +AllowShortFunctionsOnASingleLine: false