# clang-format style configuration
#
# For more information about each option, pleaser refer to the official documentation
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
---
Language:        Cpp

AccessModifierOffset:                                       -2
AlignAfterOpenBracket:                                      DontAlign
AlignConsecutiveAssignments:                                true
AlignConsecutiveDeclarations:                               false
AlignEscapedNewlinesLeft:                                   false
AlignOperands:                                              true
AlignTrailingComments:                                      true
AllowAllParametersOfDeclarationOnNextLine:                  false
AllowShortBlocksOnASingleLine:                              true
AllowShortCaseLabelsOnASingleLine:                          true
AllowShortFunctionsOnASingleLine:                           All
AllowShortIfStatementsOnASingleLine:                        true
AllowShortLoopsOnASingleLine:                               true
AlwaysBreakAfterDefinitionReturnType:                       All
AlwaysBreakAfterReturnType:                                 AllDefinitions
AlwaysBreakBeforeMultilineStrings:                          false
AlwaysBreakTemplateDeclarations:                            true
BinPackArguments:                                           true
BinPackParameters:                                          true
# Ignored if BreakBeforeBraces different from Custom
BraceWrapping:
  AfterClass:                                               false
  AfterControlStatement:                                    false
  AfterEnum:                                                false
  AfterFunction:                                            false
  AfterNamespace:                                           false
  AfterObjCDeclaration:                                     false
  AfterStruct:                                              false
  AfterUnion:                                               false
  BeforeCatch:                                              true
  BeforeElse:                                               true
  IndentBraces:                                             false
BreakBeforeBinaryOperators:                                 NonAssignment
BreakBeforeBraces:                                          Custom
BreakBeforeTernaryOperators:                                true
BreakConstructorInitializersBeforeComma:                    true
# Ignored in C++
BreakAfterJavaFieldAnnotations:                             false
BreakStringLiterals:                                        false
ColumnLimit:                                                0
CommentPragmas:                                             '.*'
ConstructorInitializerAllOnOneLineOrOnePerLine:             true
ConstructorInitializerIndentWidth:                          0
ContinuationIndentWidth:                                    2
Cpp11BracedListStyle:                                       true
DerivePointerAlignment:                                     false
DisableFormat:                                              false
ExperimentalAutoDetectBinPacking:                           false
ForEachMacros:                                              [ foreach, Q_FOREACH, BOOST_FOREACH ]
IncludeCategories:
  - Regex:                                                  'tacopie'
    Priority:                                               1
IncludeIsMainRegex:                                         '$'
IndentCaseLabels:                                           false
IndentWidth:                                                2
IndentWrappedFunctionNames:                                 false
# Ignored in C++
JavaScriptQuotes:                                           Leave
# Ignored in C++
JavaScriptWrapImports:                                      true
KeepEmptyLinesAtTheStartOfBlocks:                           true
MacroBlockBegin:                                            ''
MacroBlockEnd:                                              ''
MaxEmptyLinesToKeep:                                        2
NamespaceIndentation:                                       None
# Ignored in C++
ObjCBlockIndentWidth:                                       2
# Ignored in C++
ObjCSpaceAfterProperty:                                     false
# Ignored in C++
ObjCSpaceBeforeProtocolList:                                true
PenaltyBreakBeforeFirstCallParameter:                       19
PenaltyBreakComment:                                        300
PenaltyBreakFirstLessLess:                                  120
PenaltyBreakString:                                         1000
PenaltyExcessCharacter:                                     1000000
PenaltyReturnTypeOnItsOwnLine:                              60
PointerAlignment:                                           Left
ReflowComments:                                             true
SortIncludes:                                               true
SpaceAfterCStyleCast:                                       true
SpaceBeforeAssignmentOperators:                             true
SpaceBeforeParens:                                          ControlStatements
SpaceInEmptyParentheses:                                    false
SpacesBeforeTrailingComments:                               1
SpacesInAngles:                                             false
SpacesInContainerLiterals:                                  true
SpacesInCStyleCastParentheses:                              false
SpacesInParentheses:                                        false
SpacesInSquareBrackets:                                     false
Standard:                                                   Cpp11
TabWidth:                                                   8
UseTab:                                                     Never
...
