From a9b72fda672f61f7498fb103ac5540f86a354d95 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Thu, 27 Apr 2017 18:55:36 -0700 Subject: Check-in .clang-format --- toolsrc/.clang-format | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 toolsrc/.clang-format 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 -- cgit v1.2.3