42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
---
|
|
BasedOnStyle: Chromium
|
|
AlignEscapedNewlinesLeft: 'true'
|
|
AlignTrailingComments: 'true'
|
|
AllowShortBlocksOnASingleLine: 'true'
|
|
AllowShortIfStatementsOnASingleLine: 'false'
|
|
AllowShortLoopsOnASingleLine: 'false'
|
|
AlwaysBreakBeforeMultilineStrings: 'true'
|
|
AlwaysBreakTemplateDeclarations: 'true'
|
|
BreakBeforeBinaryOperators: 'true'
|
|
BreakBeforeBraces: Stroustrup
|
|
BreakBeforeTernaryOperators: 'true'
|
|
BreakConstructorInitializersBeforeComma: 'false'
|
|
ColumnLimit: '80'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
|
Cpp11BracedListStyle: 'true'
|
|
IndentCaseLabels: 'false'
|
|
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
|
Language: Cpp
|
|
MaxEmptyLinesToKeep: '2'
|
|
PointerAlignment: Left
|
|
SpaceBeforeAssignmentOperators: 'true'
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: 'false'
|
|
SpacesInAngles: 'false'
|
|
SpacesInCStyleCastParentheses: 'false'
|
|
SpacesInParentheses: 'false'
|
|
Standard: Cpp11
|
|
TabWidth: '2'
|
|
UseTab: ForIndentation
|
|
IncludeCategories:
|
|
- Regex: '^"(llvm-c|clang-c)/'
|
|
Priority: 2
|
|
- Regex: '^"(llvm|clang)/'
|
|
Priority: 3
|
|
- Regex: '^(<|"(gtest|isl|json)/)'
|
|
Priority: 4
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
|
|
...
|