Revision 8d6e75a52e636d87eda8ec529eee568fd1c76269 authored by Pedro Côrte-Real on 11 December 2015, 20:42:47 UTC, committed by Pedro Côrte-Real on 11 December 2015, 20:42:47 UTC
1 parent 0a05e17
Raw File
.clang-format
---
AccessModifierOffset: -2
ConstructorInitializerIndentWidth: 2
AlignEscapedNewlinesLeft: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false # otherwise the braces behind if(...) get moved up
AllowShortFunctionsOnASingleLine: false # change to SFS_Emtpy once it is supported
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BinPackParameters: true
ColumnLimit:     110   # needed for the modelines
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerBinding: false
#ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
Language: Cpp
MaxEmptyLinesToKeep: 3
NamespaceIndentation: None
ObjCSpaceBeforeProtocolList: true
PenaltyBreakComment: 60
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 50
PenaltyReturnTypeOnItsOwnLine: 60
PointerBindsToType: false
SpaceAfterCStyleCast: false
SpacesBeforeTrailingComments: 1
Cpp11BracedListStyle: false
Standard:        Cpp03
IndentWidth:     2
TabWidth:        2
UseTab:          Never
BreakBeforeBraces: Allman
IndentFunctionDeclarationAfterType: false
SpacesInParentheses: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpacesInSquareBrackets: false
...

back to top