Skip to content

Commit

Permalink
Merge pull request #425 from LPFaint99/clang-format_config
Browse files Browse the repository at this point in the history
Add .clang-format configuration
  • Loading branch information
comex committed Oct 21, 2014
2 parents c048691 + f227019 commit 3d536bb
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Source/.clang-format
@@ -0,0 +1,55 @@
---
Language: Cpp
BasedOnStyle: LLVM
#AccessModifierOffset: -2
#ConstructorInitializerIndentWidth: 4
#AlignEscapedNewlinesLeft: false
#AlignTrailingComments: true
#AllowAllParametersOfDeclarationOnNextLine: true
#AllowShortBlocksOnASingleLine: false
#AllowShortIfStatementsOnASingleLine: false
#AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
#AlwaysBreakTemplateDeclarations: false
#AlwaysBreakBeforeMultilineStrings: false
#BreakBeforeBinaryOperators: false
#BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
#BinPackParameters: true
ColumnLimit: 120
#ConstructorInitializerAllOnOneLineOrOnePerLine: false
#DerivePointerBinding: false
#ExperimentalAutoDetectBinPacking: false
#IndentCaseLabels: false
#MaxEmptyLinesToKeep: 1
#KeepEmptyLinesAtTheStartOfBlocks: true
#NamespaceIndentation: None
#ObjCSpaceAfterProperty: false
#ObjCSpaceBeforeProtocolList: true
#PenaltyBreakBeforeFirstCallParameter: 19
#PenaltyBreakComment: 300
#PenaltyBreakString: 1000
#PenaltyBreakFirstLessLess: 120
#PenaltyExcessCharacter: 1000000
#PenaltyReturnTypeOnItsOwnLine: 60
#PointerBindsToType: false
#SpacesBeforeTrailingComments: 1
#Cpp11BracedListStyle: true
#Standard: Cpp11
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
BreakBeforeBraces: Allman
#IndentFunctionDeclarationAfterType: false
#SpacesInParentheses: false
#SpacesInAngles: false
#SpaceInEmptyParentheses: false
#SpacesInCStyleCastParentheses: false
#SpacesInContainerLiterals: true
#SpaceBeforeAssignmentOperators: true
#ContinuationIndentWidth: 4
#CommentPragmas: '^ IWYU pragma:'
#ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
#SpaceBeforeParens: ControlStatements
...

0 comments on commit 3d536bb

Please sign in to comment.