forked from OSchip/llvm-project
27 lines
735 B
YAML
27 lines
735 B
YAML
---
|
|
# See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: LLVM
|
|
AlignAfterOpenBracket: DontAlign
|
|
AlignEscapedNewlines: DontAlign
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortIfStatementsOnASingleLine: true
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignOperands: false
|
|
AlignTrailingComments: false
|
|
ConstructorInitializerIndentWidth: 2
|
|
SpaceAfterTemplateKeyword: false
|
|
SpacesBeforeTrailingComments: 2
|
|
IncludeCategories:
|
|
- Regex: '^<'
|
|
Priority: 4
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
Priority: 3
|
|
- Regex: '^"\.\./'
|
|
Priority: 2
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
...
|
|
|
|
# vim:set filetype=yaml:
|