xref: /glogg/.clang-format (revision d26ce8cde46f21c68eefc390dd0ada8f4bce29bd)
1*d26ce8cdSSergei Dyshel# Standard Qt style
2*d26ce8cdSSergei DyshelBasedOnStyle: llvm
3*d26ce8cdSSergei DyshelAccessModifierOffset: -4
4*d26ce8cdSSergei DyshelBreakBeforeBinaryOperators: true
5*d26ce8cdSSergei DyshelColumnLimit: 80
6*d26ce8cdSSergei DyshelStandard: Cpp11
7*d26ce8cdSSergei DyshelIndentWidth: 4
8*d26ce8cdSSergei DyshelBreakBeforeBraces: Linux
9*d26ce8cdSSergei Dyshel
10*d26ce8cdSSergei Dyshel# Glogg-specific options
11*d26ce8cdSSergei DyshelSpacesInParentheses: true
12*d26ce8cdSSergei DyshelSpacesInSquareBrackets: true
13*d26ce8cdSSergei DyshelDerivePointerAlignment: true
14*d26ce8cdSSergei DyshelAccessModifierOffset: -2
15*d26ce8cdSSergei Dyshel
16*d26ce8cdSSergei DyshelBreakBeforeBraces: Custom
17*d26ce8cdSSergei DyshelBraceWrapping:
18*d26ce8cdSSergei Dyshel    BeforeElse: true
19*d26ce8cdSSergei Dyshel    AfterFunction: true
20