update TODO
[tint2-nick87720z.git] / .clang-format
blob497a5801da3deca788baea0ed942e4378df7ee90
1 # works with clang-format-3.7
3 # Most controversial fields are UseTab, IndentWidth, ContinuationIndentWidth, ColumnLimit, BreakBeforeBraces
5 #BasedOnStyle: Google
6 AccessModifierOffset: 0
7 AlignAfterOpenBracket: true
8 AlignConsecutiveAssignments: false
9 #AlignConsecutiveDeclarations: false
10 AlignEscapedNewlinesLeft: true
11 AlignOperands: true
12 AlignTrailingComments: true
13 AllowAllParametersOfDeclarationOnNextLine: false
14 AllowShortBlocksOnASingleLine: false
15 AllowShortCaseLabelsOnASingleLine: false
16 AllowShortFunctionsOnASingleLine: Empty
17 AllowShortIfStatementsOnASingleLine: false
18 AllowShortLoopsOnASingleLine: false
19 AlwaysBreakAfterDefinitionReturnType: None
20 AlwaysBreakBeforeMultilineStrings: false
21 AlwaysBreakTemplateDeclarations: false
22 BinPackArguments: false
23 BinPackParameters: false
24 BreakBeforeBinaryOperators: None
25 BreakBeforeBraces: Linux
26 BreakBeforeTernaryOperators: true
27 BreakConstructorInitializersBeforeComma: false
28 ColumnLimit: 120
29 CommentPragmas: ''
30 ConstructorInitializerAllOnOneLineOrOnePerLine: true
31 ConstructorInitializerIndentWidth: 0
32 ContinuationIndentWidth: 4
33 Cpp11BracedListStyle: true
34 DerivePointerAlignment: false
35 DerivePointerBinding: false
36 DisableFormat: false
37 ForEachMacros: ['foreach']
38 IndentCaseLabels: false
39 IndentFunctionDeclarationAfterType: false
40 IndentWidth: 4
41 IndentWrappedFunctionNames: false
42 Language: Cpp
43 MaxEmptyLinesToKeep: 1
44 NamespaceIndentation: None
45 ObjCSpaceAfterProperty: true
46 ObjCSpaceBeforeProtocolList: true
47 PenaltyBreakBeforeFirstCallParameter: 1000
48 PenaltyBreakComment: 100
49 PenaltyBreakFirstLessLess: 0
50 PenaltyBreakString: 100
51 PenaltyExcessCharacter: 100
52 PenaltyReturnTypeOnItsOwnLine: 2000
53 PointerAlignment: Right
54 SpaceAfterCStyleCast: false
55 SpaceBeforeAssignmentOperators: true
56 SpaceBeforeParens: ControlStatements
57 SpaceInEmptyParentheses: false
58 SpacesBeforeTrailingComments: 1
59 SpacesInAngles: false
60 SpacesInCStyleCastParentheses: false
61 SpacesInContainerLiterals: false
62 SpacesInParentheses: false
63 SpacesInSquareBrackets: false
64 Standard: Cpp11
65 TabWidth: 4
66 UseTab: Never