diff options
| -rw-r--r-- | toolsrc/.clang-format | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/toolsrc/.clang-format b/toolsrc/.clang-format new file mode 100644 index 000000000..a6204181e --- /dev/null +++ b/toolsrc/.clang-format @@ -0,0 +1,31 @@ +--- +BasedOnStyle: WebKit +Language: Cpp + +UseTab: Never +IndentWidth: 4 +ColumnLimit: 120 +PointerAlignment: Left + +BreakBeforeBraces: Allman + +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: All +AllowShortIfStatementsOnASingleLine: true +AllowShortLoopsOnASingleLine: false +AlwaysBreakTemplateDeclarations: true +AlignAfterOpenBracket: true +AlignOperands: true +AlignTrailingComments: true +BinPackArguments: false +BinPackParameters: false +BreakBeforeBinaryOperators: None +BreakConstructorInitializersBeforeComma: true +ConstructorInitializerAllOnOneLineOrOnePerLine: true +Cpp11BracedListStyle: false +IndentCaseLabels: true +KeepEmptyLinesAtTheStartOfBlocks: false +NamespaceIndentation: All +PenaltyReturnTypeOnItsOwnLine: 100 +SpaceAfterTemplateKeyword: false
\ No newline at end of file |
