---
Language: Cpp
DisableFormat: false
Standard: Cpp11

# 3.1 Tabs and Indents
UseTab: Never
IndentWidth: 4
TabWidth: 4
NamespaceIndentation: None
MaxEmptyLinesToKeep: 1

# 3.2 Spacing
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles:  false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false

# 3.3 Statements
ColumnLimit: 100
ContinuationIndentWidth: 4
IndentCaseLabels: false
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''

# 3.6 Curly Brackets
BreakBeforeBraces: Allman
BraceWrapping:
  AfterClass: false
  AfterControlStatement: false
  AfterEnum: false
  AfterFunction: false
  AfterNamespace: false
  AfterObjCDeclaration: false
  AfterStruct: false
  AfterUnion: false
  BeforeCatch: false
  BeforeElse: false
  IndentBraces: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false

# 3.7 Variables and Constants
DerivePointerAlignment: false
PointerAlignment: Left
Cpp11BracedListStyle: true

# 3.8 Structures
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true

# 3.9 Functions
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakTemplateDeclarations: true
AlignAfterOpenBracket: true
IndentWrappedFunctionNames: false

# 3.10 Function Calls
BinPackArguments: false

# 3.11 Prototype Declarations
BinPackParameters: false

# 3.12 Class Definition
AccessModifierOffset: -4
BreakConstructorInitializersBeforeComma: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4

AlignEscapedNewlinesLeft: true
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true

CommentPragmas: '^ IWYU pragma:'
ExperimentalAutoDetectBinPacking: false
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, NERD_FOREACH ]
SortIncludes: false
IncludeCategories: 
...
