Permalink
Browse files

Added clang-format configuration.

  • Loading branch information...
1 parent f3d8428 commit 91e835c6d45f5db1788f41db981f5eeb8fefa366 @theunknownxy theunknownxy committed Dec 1, 2016
Showing with 20 additions and 0 deletions.
  1. +20 −0 .clang-format
View
@@ -0,0 +1,20 @@
+---
+BasedOnStyle: LLVM
+IndentWidth: 4
+---
+Language: Cpp
+TabWidth: 4
+ContinuationIndentWidth: 2
+UseTab: ForIndentation
+ColumnLimit: 100
+
+AccessModifierOffset: -4
+NamespaceIndentation: All
+IndentCaseLabels: true
+
+SpaceBeforeParens: ControlStatements
+PointerAlignment: Right
+
+AllowShortFunctionsOnASingleLine: Inline
+AllowShortCaseLabelsOnASingleLine: true
+ConstructorInitializerAllOnOneLineOrOnePerLine: true

0 comments on commit 91e835c

Please sign in to comment.