]> git.cworth.org Git - vogl/blob - .clang-format
UI: Improved support for shared contexts and viewing shared state objects
[vogl] / .clang-format
1 #
2 # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
3 #
4 AccessModifierOffset: -4
5 ConstructorInitializerIndentWidth: 4
6 AlignEscapedNewlinesLeft: false
7 AlignTrailingComments: true
8 AllowAllParametersOfDeclarationOnNextLine: true
9 AllowShortIfStatementsOnASingleLine: false
10 AllowShortLoopsOnASingleLine: false
11 AlwaysBreakTemplateDeclarations: false
12 AlwaysBreakBeforeMultilineStrings: false
13 BreakBeforeBinaryOperators: false
14 BreakBeforeTernaryOperators: true
15 BreakConstructorInitializersBeforeComma: false
16 BinPackParameters: true
17 ColumnLimit:     0
18 ConstructorInitializerAllOnOneLineOrOnePerLine: false
19 DerivePointerBinding: false
20 ExperimentalAutoDetectBinPacking: false
21 IndentCaseLabels: true
22 MaxEmptyLinesToKeep: 1
23 NamespaceIndentation: All
24 ObjCSpaceBeforeProtocolList: true
25 PenaltyBreakBeforeFirstCallParameter: 19
26 PenaltyBreakComment: 60
27 PenaltyBreakString: 1000
28 PenaltyBreakFirstLessLess: 120
29 PenaltyExcessCharacter: 1000000
30 PenaltyReturnTypeOnItsOwnLine: 60
31 PointerBindsToType: false
32 SpacesBeforeTrailingComments: 1
33 Cpp11BracedListStyle: false
34 Standard:        Cpp03
35 IndentWidth:     4
36 TabWidth:        4
37 UseTab:          Never
38 BreakBeforeBraces: Allman
39 IndentFunctionDeclarationAfterType: false
40 SpacesInParentheses: false
41 SpacesInAngles:  false
42 SpaceInEmptyParentheses: false
43 SpacesInCStyleCastParentheses: false
44 SpaceAfterControlStatementKeyword: true
45 SpaceBeforeAssignmentOperators: true
46 ContinuationIndentWidth: 4
47