Skip to content

Commit

Permalink
Configure clang-format for Google style
Browse files Browse the repository at this point in the history
  • Loading branch information
rakhimov committed May 29, 2018
1 parent e90c6dd commit ed8633c
Showing 1 changed file with 4 additions and 28 deletions.
32 changes: 4 additions & 28 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -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.