Skip to content

Commit

Permalink
[clang-format]
Browse files Browse the repository at this point in the history
Upgraded clang-format file after review of options
This clang-format file should be used with all applications!
  • Loading branch information
Wentzell committed Jun 25, 2017
1 parent 36b41ed commit 84b450f
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -12,45 +12,34 @@ AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: false

BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: false

ColumnLimit: 130
ColumnLimit: 150
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 3
#ContinuationIndentWidth: 3
ContinuationIndentWidth: 3
Cpp11BracedListStyle: true

DerivePointerBinding : false

IndentCaseLabels: true
IndentWidth: 1

IndentWidth: 2
Language: Cpp

MaxEmptyLinesToKeep: 1

NamespaceIndentation : All

PointerAlignment: Left #Right
#ReflowComments: true

NamespaceIndentation : All
PointerAlignment: Right
ReflowComments: false
SortIncludes: false
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceInEmptyParentheses: false
SpacesInParentheses: false
Standard: Cpp11

TabWidth: 1

TabWidth: 2
UseTab: Never

0 comments on commit 84b450f

Please sign in to comment.