2018-02-06 02:18:38 +08:00
|
|
|
---
|
|
|
|
# See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
|
|
BasedOnStyle: LLVM
|
2018-02-06 08:08:46 +08:00
|
|
|
AlignAfterOpenBracket: DontAlign
|
2018-02-06 02:18:38 +08:00
|
|
|
AlignEscapedNewlines: DontAlign
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
2018-02-06 08:08:46 +08:00
|
|
|
AlignOperands: false
|
2018-02-06 02:18:38 +08:00
|
|
|
AlignTrailingComments: false
|
2018-04-13 03:23:20 +08:00
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^<'
|
|
|
|
Priority: 4
|
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 3
|
2020-01-28 04:57:59 +08:00
|
|
|
- Regex: '^"(flang|\.\.)/'
|
2018-04-13 03:23:20 +08:00
|
|
|
Priority: 2
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 1
|
2018-02-06 02:18:38 +08:00
|
|
|
...
|
|
|
|
|
|
|
|
# vim:set filetype=yaml:
|