displayLayout and Rendering TUI library |
git clone git://git.dimitrijedobrota.com/display.git |
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING |
.clang-format (4698B)
0 ---
1 Language: Cpp
2 # BasedOnStyle: Chromium
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveMacros: false
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveBitFields: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: DontAlign
10 AlignOperands: DontAlign
11 AlignTrailingComments: false
12 AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: false
14 AllowAllParametersOfDeclarationOnNextLine: true
15 AllowShortEnumsOnASingleLine: false
16 AllowShortBlocksOnASingleLine: Empty
17 AllowShortCaseLabelsOnASingleLine: false
18 AllowShortFunctionsOnASingleLine: Inline
19 AllowShortLambdasOnASingleLine: All
20 AllowShortIfStatementsOnASingleLine: Never
21 AllowShortLoopsOnASingleLine: false
22 AlwaysBreakAfterDefinitionReturnType: None
23 AlwaysBreakAfterReturnType: None
24 AlwaysBreakBeforeMultilineStrings: true
25 AlwaysBreakTemplateDeclarations: Yes
26 BinPackArguments: false
27 BinPackParameters: false
28 BraceWrapping:
29 AfterCaseLabel: false
30 AfterClass: true
31 AfterControlStatement: MultiLine
32 AfterEnum: true
33 AfterFunction: true
34 AfterNamespace: true
35 AfterObjCDeclaration: false
36 AfterStruct: true
37 AfterUnion: true
38 AfterExternBlock: true
39 BeforeCatch: false
40 BeforeElse: false
41 BeforeLambdaBody: true
42 BeforeWhile: false
43 IndentBraces: false
44 SplitEmptyFunction: true
45 SplitEmptyRecord: true
46 SplitEmptyNamespace: true
47 BreakBeforeBinaryOperators: NonAssignment
48 BreakBeforeBraces: Custom
49 # BreakBeforeInheritanceComma: true
50 BreakInheritanceList: BeforeComma
51 BreakBeforeTernaryOperators: true
52 BreakConstructorInitializersBeforeComma: true
53 BreakConstructorInitializers: BeforeComma
54 BreakAfterJavaFieldAnnotations: true
55 BreakStringLiterals: true
56 ColumnLimit: 80
57 CommentPragmas: '^ IWYU pragma:'
58 CompactNamespaces: false
59 ConstructorInitializerAllOnOneLineOrOnePerLine: false
60 ConstructorInitializerIndentWidth: 4
61 ContinuationIndentWidth: 4
62 Cpp11BracedListStyle: true
63 DeriveLineEnding: false
64 DerivePointerAlignment: false
65 DisableFormat: false
66 ExperimentalAutoDetectBinPacking: false
67 FixNamespaceComments: true
68 ForEachMacros:
69 - foreach
70 - Q_FOREACH
71 - BOOST_FOREACH
72 IncludeBlocks: Regroup
73 IncludeCategories:
74 # Standard library headers come before anything else
75 - Regex: '^<[a-z_]+>'
76 Priority: -1
77 - Regex: '^<.+\.h(pp)?>'
78 Priority: 1
79 - Regex: '^<.*'
80 Priority: 2
81 - Regex: '.*'
82 Priority: 3
83 IncludeIsMainRegex: ''
84 IncludeIsMainSourceRegex: ''
85 IndentCaseLabels: true
86 IndentCaseBlocks: false
87 IndentGotoLabels: true
88 IndentPPDirectives: AfterHash
89 IndentExternBlock: NoIndent
90 IndentWidth: 2
91 IndentWrappedFunctionNames: false
92 InsertTrailingCommas: Wrapped
93 JavaScriptQuotes: Double
94 JavaScriptWrapImports: true
95 KeepEmptyLinesAtTheStartOfBlocks: false
96 MacroBlockBegin: ''
97 MacroBlockEnd: ''
98 MaxEmptyLinesToKeep: 1
99 NamespaceIndentation: None
100 ObjCBinPackProtocolList: Never
101 ObjCBlockIndentWidth: 2
102 ObjCBreakBeforeNestedBlockParam: true
103 ObjCSpaceAfterProperty: false
104 ObjCSpaceBeforeProtocolList: true
105 PenaltyBreakAssignment: 2
106 PenaltyBreakBeforeFirstCallParameter: 1
107 PenaltyBreakComment: 300
108 PenaltyBreakFirstLessLess: 120
109 PenaltyBreakString: 1000
110 PenaltyBreakTemplateDeclaration: 10
111 PenaltyExcessCharacter: 1000000
112 PenaltyReturnTypeOnItsOwnLine: 200
113 PointerAlignment: Left
114 RawStringFormats:
115 - Language: Cpp
116 Delimiters:
117 - cc
118 - CC
119 - cpp
120 - Cpp
121 - CPP
122 - 'c++'
123 - 'C++'
124 CanonicalDelimiter: ''
125 BasedOnStyle: google
126 - Language: TextProto
127 Delimiters:
128 - pb
129 - PB
130 - proto
131 - PROTO
132 EnclosingFunctions:
133 - EqualsProto
134 - EquivToProto
135 - PARSE_PARTIAL_TEXT_PROTO
136 - PARSE_TEST_PROTO
137 - PARSE_TEXT_PROTO
138 - ParseTextOrDie
139 - ParseTextProtoOrDie
140 - ParseTestProto
141 - ParsePartialTestProto
142 CanonicalDelimiter: ''
143 BasedOnStyle: google
144 ReflowComments: true
145 SortIncludes: true
146 SortUsingDeclarations: true
147 SpaceAfterCStyleCast: false
148 SpaceAfterLogicalNot: false
149 SpaceAfterTemplateKeyword: false
150 SpaceBeforeAssignmentOperators: true
151 SpaceBeforeCpp11BracedList: true
152 SpaceBeforeCtorInitializerColon: true
153 SpaceBeforeInheritanceColon: true
154 SpaceBeforeParens: ControlStatementsExceptForEachMacros
155 SpaceBeforeRangeBasedForLoopColon: true
156 SpaceInEmptyBlock: false
157 SpaceInEmptyParentheses: false
158 SpacesBeforeTrailingComments: 2
159 SpacesInAngles: false
160 SpacesInConditionalStatement: false
161 SpacesInContainerLiterals: false
162 SpacesInCStyleCastParentheses: false
163 SpacesInParentheses: false
164 SpacesInSquareBrackets: false
165 SpaceBeforeSquareBrackets: false
166 Standard: Auto
167 StatementMacros:
168 - Q_UNUSED
169 - QT_REQUIRE_VERSION
170 TabWidth: 8
171 UseCRLF: false
172 UseTab: Never
173 WhitespaceSensitiveMacros:
174 - STRINGIZE
175 - PP_STRINGIZE
176 - BOOST_PP_STRINGIZE
177 ...