clang-format: configuration for the clang-format source formatter
authorAugie Fackler <raf@durin42.com>
Sat, 24 Jan 2015 17:04:25 -0500
changeset 34798 e33381d95930
parent 34797 284fa44f7f39
child 34799 0b46352384a0
clang-format: configuration for the clang-format source formatter Differential Revision: https://phab.mercurial-scm.org/D1129
.clang-format
tests/test-check-code.t
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.clang-format	Sat Jan 24 17:04:25 2015 -0500
@@ -0,0 +1,8 @@
+BasedOnStyle: LLVM
+IndentWidth: 8
+UseTab: ForIndentation
+BreakBeforeBraces: Linux
+AllowShortIfStatementsOnASingleLine: false
+IndentCaseLabels: false
+AllowShortBlocksOnASingleLine: false
+AllowShortFunctionsOnASingleLine: false
--- a/tests/test-check-code.t	Fri Oct 06 06:48:43 2017 -0700
+++ b/tests/test-check-code.t	Sat Jan 24 17:04:25 2015 -0500
@@ -39,6 +39,7 @@
 
   $ testrepohg files 'glob:*'
   .arcconfig
+  .clang-format
   .editorconfig
   .hgignore
   .hgsigs