| 1 |
# https://clang.llvm.org/docs/ClangFormat.html |
| 2 |
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html |
| 3 |
|
| 4 |
AlignConsecutiveMacros: Consecutive |
| 5 |
AlwaysBreakAfterReturnType: AllDefinitions |
| 6 |
BreakBeforeBraces: Linux |
| 7 |
# Assume developer will line wrap appropriately |
| 8 |
ColumnLimit: 0 |
| 9 |
ContinuationIndentWidth: 8 |
| 10 |
Cpp11BracedListStyle: false |
| 11 |
IndentWidth: 8 |
| 12 |
PointerAlignment: Right |
| 13 |
SpaceAfterCStyleCast: true |
| 14 |
UseTab: Always |
| 15 |
# Keep formatting "as is" for these macros, otherwise |
| 16 |
# clang-format will mess it up |
| 17 |
WhitespaceSensitiveMacros: |
| 18 |
- G_DEFINE_TYPE_WITH_CODE |
| 19 |
- G_DEFINE_ABSTRACT_TYPE_WITH_CODE |
| 20 |
- MUTEST_MAIN |