aboutsummaryrefslogtreecommitdiff
path: root/flang-rt/.clang-format
blob: 23f4c5ae2dcf24d0ce97597a55eee015cc6a0858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
# 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:        6
  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
    Priority:        5
  - Regex:           '^"flang/'     # Headers shared with Flang
    Priority:        4
  - Regex:           '^"flang-rt/'  # Public Flang-RT headers
    Priority:        3
  - Regex:           '^[^/]*$'      # Private headers from same library
    Priority:        1
  - Regex:           '.*'           # Private headers from sibling libraries
    Priority:        2
...

# vim:set filetype=yaml: