[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / flang / .clang-format
blobc1dfe06fdf5782f1678eeedf8a49e3fdd7180066
1 ---
2 # See: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
3 BasedOnStyle: LLVM
4 AlignAfterOpenBracket: DontAlign
5 AlignEscapedNewlines: DontAlign
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveDeclarations: false
8 AlignOperands: false
9 AlignTrailingComments: false
10 IncludeCategories:
11   - Regex:           '^<'
12     Priority:        4
13   - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
14     Priority:        3
15   - Regex:           '^"(flang|\.\.)/'
16     Priority:        2
17   - Regex:           '.*'
18     Priority:        1
19 ...
21 # vim:set filetype=yaml: