fix bugprone-multi-level-implicit-pointer-conversio
[liba.git] / .clang-format
blob72395dc1f75e52511f8ca15deb3b382662914463
1 ---
2 BasedOnStyle: LLVM
3 AccessModifierOffset: -4
4 AlignEscapedNewlines: Left
5 AlignTrailingComments: false
6 AllowShortBlocksOnASingleLine: Always
7 AllowShortCaseLabelsOnASingleLine: true
8 AllowShortIfStatementsOnASingleLine: AllIfsAndElse
9 AllowShortLoopsOnASingleLine: true
10 AlwaysBreakTemplateDeclarations: Yes
11 BreakBeforeBraces: Custom
12 BreakInheritanceList: BeforeComma
13 BreakConstructorInitializers: BeforeComma
14 BraceWrapping:
15   AfterEnum: true
16   AfterClass: true
17   AfterUnion: true
18   AfterStruct: true
19   AfterFunction: true
20   AfterCaseLabel: true
21   AfterNamespace: true
22   AfterControlStatement: true
23   BeforeElse: true
24   BeforeCatch: true
25 ColumnLimit: 0
26 IndentWidth: 4
27 KeepEmptyLinesAtTheStartOfBlocks: false
28 ObjCBlockIndentWidth: 4
29 ReflowComments: false
30 SortIncludes: false
31 SpaceBeforeCtorInitializerColon: false
32 SpaceBeforeInheritanceColon: false
33 SpacesInContainerLiterals: false
34 TabWidth: 4
35 ...