aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-27 18:55:36 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-27 18:59:57 -0700
commita9b72fda672f61f7498fb103ac5540f86a354d95 (patch)
treedf1405bc0578ed51defc80bf2783d0eac58fe913
parent4ad755bb69dc99a8f0d42b67b0a7c4c59b332077 (diff)
downloadvcpkg-a9b72fda672f61f7498fb103ac5540f86a354d95.tar.gz
vcpkg-a9b72fda672f61f7498fb103ac5540f86a354d95.zip
Check-in .clang-format
-rw-r--r--toolsrc/.clang-format31
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