xref: /netbsd-src/external/bsd/pam-u2f/dist/.clang-format (revision 46988a0ecd54772d66eec56f0d4d6a35a553f49b)
1---
2Language:        Cpp
3AccessModifierOffset: -2
4AlignAfterOpenBracket: Align
5AlignConsecutiveAssignments: false
6AlignConsecutiveDeclarations: false
7AlignEscapedNewlines: Right
8AlignOperands:   true
9AlignTrailingComments: true
10AllowAllParametersOfDeclarationOnNextLine: true
11AllowShortBlocksOnASingleLine: false
12AllowShortCaseLabelsOnASingleLine: false
13AllowShortFunctionsOnASingleLine: All
14AllowShortIfStatementsOnASingleLine: false
15AllowShortLoopsOnASingleLine: false
16AlwaysBreakAfterDefinitionReturnType: None
17AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
19AlwaysBreakTemplateDeclarations: false
20BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
23  AfterClass:      false
24  AfterControlStatement: false
25  AfterEnum:       false
26  AfterFunction:   false
27  AfterNamespace:  false
28  AfterObjCDeclaration: false
29  AfterStruct:     false
30  AfterUnion:      false
31  BeforeCatch:     false
32  BeforeElse:      false
33  IndentBraces:    false
34  SplitEmptyFunction: true
35  SplitEmptyRecord: true
36  SplitEmptyNamespace: true
37BreakBeforeBinaryOperators: None
38BreakBeforeBraces: Attach
39BreakBeforeInheritanceComma: false
40BreakBeforeTernaryOperators: true
41BreakConstructorInitializersBeforeComma: false
42BreakConstructorInitializers: BeforeColon
43BreakAfterJavaFieldAnnotations: false
44BreakStringLiterals: true
45ColumnLimit:     80
46CommentPragmas:  '^ IWYU pragma:'
47CompactNamespaces: false
48ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 2
50ContinuationIndentWidth: 2
51Cpp11BracedListStyle: true
52DerivePointerAlignment: false
53DisableFormat:   false
54ExperimentalAutoDetectBinPacking: false
55FixNamespaceComments: true
56ForEachMacros:
57  - foreach
58  - Q_FOREACH
59  - BOOST_FOREACH
60IncludeCategories:
61  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
62    Priority:        2
63  - Regex:           '^(<|"(gtest|isl|json)/)'
64    Priority:        3
65  - Regex:           '.*'
66    Priority:        1
67IncludeIsMainRegex: '(Test)?$'
68IndentCaseLabels: true
69IndentWidth:     2
70IndentWrappedFunctionNames: false
71JavaScriptQuotes: Leave
72JavaScriptWrapImports: true
73KeepEmptyLinesAtTheStartOfBlocks: true
74MacroBlockBegin: ''
75MacroBlockEnd:   ''
76MaxEmptyLinesToKeep: 1
77NamespaceIndentation: None
78ObjCBlockIndentWidth: 2
79ObjCSpaceAfterProperty: false
80ObjCSpaceBeforeProtocolList: true
81PenaltyBreakAssignment: 2
82PenaltyBreakBeforeFirstCallParameter: 1000
83PenaltyBreakComment: 300
84PenaltyBreakFirstLessLess: 120
85PenaltyBreakString: 1000
86PenaltyExcessCharacter: 1000000
87PenaltyReturnTypeOnItsOwnLine: 60
88PointerAlignment: Right
89ReflowComments:  true
90SortIncludes:    false
91SortUsingDeclarations: true
92SpaceAfterCStyleCast: true
93SpaceAfterTemplateKeyword: true
94SpaceBeforeAssignmentOperators: true
95SpaceBeforeParens: ControlStatements
96SpaceInEmptyParentheses: false
97SpacesBeforeTrailingComments: 1
98SpacesInAngles:  false
99SpacesInContainerLiterals: true
100SpacesInCStyleCastParentheses: false
101SpacesInParentheses: false
102SpacesInSquareBrackets: false
103Standard:        Cpp11
104TabWidth:        8
105UseTab:          Never
106...
107