Permalink
Browse files

Add clang format

  • Loading branch information...
astoeckel committed Jan 17, 2016
1 parent f6c8e77 commit e67604ac31c62c3ce82d309e3b96e51c6e6a69af
Showing with 20 additions and 0 deletions.
  1. +20 −0 .clang-format
View
@@ -0,0 +1,20 @@
+BasedOnStyle: Google
+AccessModifierOffset: -4
+Standard: Cpp11
+IndentWidth: 4
+TabWidth: 4
+UseTab: ForIndentation
+AllowShortIfStatementsOnASingleLine: false
+NamespaceIndentation: None
+DerivePointerAlignment: false
+PointerAlignment: Right
+BreakBeforeBraces: Stroustrup
+
+AllowShortBlocksOnASingleLine: true
+AllowShortFunctionsOnASingleLine: true
+AllowShortIfStatementsOnASingleLine: false
+AllowShortLoopsOnASingleLine: false
+
+AlwaysBreakTemplateDeclarations: true
+
+SpacesInAngles: false

0 comments on commit e67604a

Please sign in to comment.