# HG changeset patch # User Augie Fackler # Date 1422137065 18000 # Node ID e33381d95930b269df665f035c3d431705fcb6da # Parent 284fa44f7f39309f211457a7d130dbcb327ec80f clang-format: configuration for the clang-format source formatter Differential Revision: https://phab.mercurial-scm.org/D1129 diff -r 284fa44f7f39 -r e33381d95930 .clang-format --- /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 diff -r 284fa44f7f39 -r e33381d95930 tests/test-check-code.t --- 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