57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
---
|
|
# Base Style
|
|
BasedOnStyle: Google
|
|
Standard: Latest
|
|
ColumnLimit: 100
|
|
UseTab: Always
|
|
TabWidth: 8
|
|
IndentWidth: 8
|
|
BreakBeforeBraces: Allman
|
|
# BreakBeforeBraces: Stroustrup
|
|
SpaceBeforeCpp11BracedList: true
|
|
SeparateDefinitionBlocks: Always
|
|
Cpp11BracedListStyle: false
|
|
BreakAfterReturnType: TopLevel
|
|
AlignTrailingComments:
|
|
Kind: Always
|
|
# OverEmptyLines: 2
|
|
ReflowComments: Always
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
|
|
AllowShortLoopsOnASingleLine: true
|
|
# RemoveEmptyLinesInUnwrappedLines: true
|
|
|
|
# ReflowComments: true
|
|
# SortIncludes: true
|
|
# IncludeBlocks: Regroup
|
|
#
|
|
# # Indentation
|
|
# ContinuationIndentWidth: 8
|
|
# AlignAfterOpenBracket: true
|
|
# PointerAlignment: Left
|
|
# ReferenceAlignment: Left
|
|
#
|
|
# # Braces
|
|
# BreakBeforeBraces: Custom
|
|
# BraceWrapping:
|
|
# AfterFunction: false
|
|
# AfterClass: false
|
|
# AfterControlStatement: false
|
|
# AfterNamespace: false
|
|
# IndentBraces: false
|
|
#
|
|
# # Containers & lists
|
|
#
|
|
# SpaceBeforeCpp11BracedList: true
|
|
# BreakAfterOpenBracketBracedList: true
|
|
#
|
|
# # Control statements & loops
|
|
# SpaceBeforeParens: Custom
|
|
# SpaceBeforeParensOptions:
|
|
# AfterControlStatements: true
|
|
# SpaceBeforeRangeBasedForLoopColon: true
|
|
#
|
|
# # Preprocessor
|
|
# IndentPPDirectives: AfterHash
|
|
# PPIndentWidth: 0
|