8dd8cd945e
So we can at least make the examples use a more consistent code style. Run clang-format like so: $ clang-format -i *.cpp and use git diff to see what has changed. This will strip trailing whitespace too. You can ignore that by using git diff -w
17 lines
415 B
YAML
17 lines
415 B
YAML
BasedOnStyle: WebKit
|
|
Standard: Cpp11
|
|
AlignAfterOpenBracket: false
|
|
AlignEscapedNewlinesLeft: true
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
BreakBeforeBraces: Allman
|
|
BreakConstructorInitializersBeforeComma: false
|
|
ColumnLimit: 80
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 0
|
|
IndentCaseLabels: false
|
|
SortIncludes: false
|
|
AlignTrailingComments: false
|
|
|
|
SpacesInAngles: true
|
|
|