Permalink
Browse files

Configure clang-format for Google style

  • Loading branch information...
rakhimov committed May 29, 2018
1 parent e90c6dd commit ed8633c2b9240fa2b2e0981bb704678be6641099
Showing with 4 additions and 28 deletions.
  1. +4 −28 .clang-format
@@ -1,29 +1,5 @@
BasedOnStyle: llvm
AccessModifierOffset: -4
BreakBeforeBinaryOperators: None
ColumnLimit: 80
Standard: Cpp11
IndentWidth: 4
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterFunction: true
AfterControlStatement: true
AfterEnum: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
AfterNamespace: true
IndentBraces: false
SplitEmptyFunction: false
AllowShortFunctionsOnASingleLine: All
Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
PointerAlignment: Left
SpacesBeforeTrailingComments: 2
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeComma
IndentCaseLabels: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false

0 comments on commit ed8633c

Please sign in to comment.