mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-25 17:31:02 +00:00
3214c18774
This only changs the clang-format file and adds documentation referring to the new process for formatting code. A future commit will perform a reformatting according to these new formatting settings. Original-commit: flang-compiler/f18@02531d788e Reviewed-on: https://github.com/flang-compiler/f18/pull/945
22 lines
559 B
YAML
22 lines
559 B
YAML
---
|
|
# See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: LLVM
|
|
AlignAfterOpenBracket: DontAlign
|
|
AlignEscapedNewlines: DontAlign
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignOperands: false
|
|
AlignTrailingComments: false
|
|
IncludeCategories:
|
|
- Regex: '^<'
|
|
Priority: 4
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
Priority: 3
|
|
- Regex: '^"(flang|\.\.)/'
|
|
Priority: 2
|
|
- Regex: '.*'
|
|
Priority: 1
|
|
...
|
|
|
|
# vim:set filetype=yaml:
|