xref: /freebsd/contrib/libucl/.clang-format (revision abda442d92fdbadcf81c79bc9ddba001d133c429)
1# Generated from CLion C/C++ Code Style settings
2BasedOnStyle: LLVM
3AccessModifierOffset: -4
4AlignAfterOpenBracket: Align
5AlignConsecutiveAssignments: None
6AlignOperands: Align
7AllowAllArgumentsOnNextLine: false
8AllowAllConstructorInitializersOnNextLine: false
9AllowAllParametersOfDeclarationOnNextLine: false
10AllowShortBlocksOnASingleLine: Always
11AllowShortCaseLabelsOnASingleLine: false
12AllowShortFunctionsOnASingleLine: None
13AllowShortIfStatementsOnASingleLine: Always
14AllowShortLambdasOnASingleLine: All
15AllowShortLoopsOnASingleLine: true
16AlwaysBreakAfterReturnType: None
17AlwaysBreakTemplateDeclarations: Yes
18BreakBeforeBraces: Custom
19BraceWrapping:
20  AfterCaseLabel: false
21  AfterClass: false
22  AfterControlStatement: Never
23  AfterEnum: false
24  AfterFunction: true
25  AfterNamespace: false
26  AfterUnion: false
27  BeforeCatch: false
28  BeforeElse: true
29  IndentBraces: false
30  SplitEmptyFunction: true
31  SplitEmptyRecord: true
32BreakBeforeBinaryOperators: None
33BreakBeforeTernaryOperators: true
34BreakConstructorInitializers: BeforeColon
35BreakInheritanceList: BeforeColon
36ColumnLimit: 0
37CompactNamespaces: false
38ContinuationIndentWidth: 4
39IndentCaseLabels: false
40IndentPPDirectives: None
41IndentWidth: 4
42KeepEmptyLinesAtTheStartOfBlocks: true
43MaxEmptyLinesToKeep: 2
44NamespaceIndentation: None
45ObjCSpaceAfterProperty: false
46ObjCSpaceBeforeProtocolList: true
47PointerAlignment: Right
48ReflowComments: false
49SortIncludes: Never
50SpaceAfterCStyleCast: true
51SpaceAfterLogicalNot: false
52SpaceAfterTemplateKeyword: false
53SpaceBeforeAssignmentOperators: true
54SpaceBeforeCpp11BracedList: false
55SpaceBeforeCtorInitializerColon: true
56SpaceBeforeInheritanceColon: true
57SpaceBeforeParens: ControlStatements
58SpaceBeforeRangeBasedForLoopColon: false
59SpaceInEmptyParentheses: false
60SpacesBeforeTrailingComments: 0
61SpacesInAngles: false
62SpacesInCStyleCastParentheses: false
63SpacesInContainerLiterals: false
64SpacesInParentheses: false
65SpacesInSquareBrackets: false
66TabWidth: 4
67UseTab: ForContinuationAndIndentation
68