Krolyxon
Commit 3120783

Branches

Tags

Refs →

orion-rf.piolibdepsesp32-s3-n16r8RF24.clang-format

156 lines · 4.5 KB

1# See options listed at https://releases.llvm.org/12.0.1/tools/clang/docs/ClangFormatStyleOptions.html
2---
3Language: Cpp
4# BasedOnStyle: WebKit
5AccessModifierOffset: -4
6AlignAfterOpenBracket: Align
7AlignConsecutiveMacros: Consecutive
8AlignConsecutiveAssignments: None
9AlignConsecutiveBitFields: None
10AlignConsecutiveDeclarations: None
11AlignEscapedNewlines: Left
12AlignOperands: DontAlign
13AlignTrailingComments: true
14AllowAllArgumentsOnNextLine: true
15AllowAllConstructorInitializersOnNextLine: true
16AllowAllParametersOfDeclarationOnNextLine: true
17AllowShortEnumsOnASingleLine: false
18AllowShortBlocksOnASingleLine: Empty
19AllowShortCaseLabelsOnASingleLine: true
20AllowShortFunctionsOnASingleLine: All
21AllowShortLambdasOnASingleLine: All
22AllowShortIfStatementsOnASingleLine: Never
23AllowShortLoopsOnASingleLine: false
24AlwaysBreakAfterReturnType: None
25AlwaysBreakBeforeMultilineStrings: false
26AlwaysBreakTemplateDeclarations: Yes
27AttributeMacros: ["__capability", "__output", "__ununsed"]
28BinPackArguments: true
29BinPackParameters: true
30BitFieldColonSpacing: Both
31BraceWrapping:
32 AfterCaseLabel: false
33 AfterClass: true
34 AfterControlStatement: MultiLine
35 AfterEnum: true
36 AfterFunction: true
37 AfterNamespace: false
38 AfterStruct: true
39 AfterUnion: true
40 AfterExternBlock: false
41 BeforeCatch: true
42 BeforeElse: true
43 BeforeLambdaBody: false
44 BeforeWhile: false
45 IndentBraces: false
46 SplitEmptyFunction: true
47 SplitEmptyRecord: true
48 SplitEmptyNamespace: true
49BreakBeforeBinaryOperators: All
50BreakBeforeConceptDeclarations: true
51BreakBeforeBraces: Custom
52BreakBeforeInheritanceComma: false
53BreakInheritanceList: BeforeColon
54BreakBeforeTernaryOperators: true
55BreakConstructorInitializersBeforeComma: false
56BreakConstructorInitializers: BeforeColon
57BreakStringLiterals: true
58ColumnLimit: 0
59# CommentPragmas are a regex pattern indicating the comment is not be touched by the formatter
60CommentPragmas: "^ Include gaurd .*"
61CompactNamespaces: false
62ConstructorInitializerAllOnOneLineOrOnePerLine: true
63ConstructorInitializerIndentWidth: 4
64ContinuationIndentWidth: 4
65Cpp11BracedListStyle: true
66DeriveLineEnding: false
67DerivePointerAlignment: false
68DisableFormat: false
69EmptyLineBeforeAccessModifier: Always
70EmptyLineAfterAccessModifier: Leave
71ExperimentalAutoDetectBinPacking: false
72FixNamespaceComments: true
73IncludeBlocks: Preserve
74IncludeCategories:
75 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
76 Priority: 2
77 SortPriority: 0
78 CaseSensitive: false
79 - Regex: '^(<|"(gtest|gmock|isl|json)/)'
80 Priority: 3
81 SortPriority: 0
82 CaseSensitive: false
83 - Regex: ".*"
84 Priority: 1
85 SortPriority: 0
86 CaseSensitive: false
87IncludeIsMainRegex: "(Test)?$"
88IncludeIsMainSourceRegex: ""
89IndentAccessModifiers: false
90IndentCaseLabels: true
91IndentCaseBlocks: false
92IndentGotoLabels: false
93IndentPPDirectives: BeforeHash
94IndentExternBlock: AfterExternBlock
95IndentRequires: false
96IndentWidth: 4
97IndentWrappedFunctionNames: false
98InsertTrailingCommas: None
99KeepEmptyLinesAtTheStartOfBlocks: true
100MacroBlockBegin: ""
101MacroBlockEnd: ""
102MaxEmptyLinesToKeep: 1
103NamespaceIndentation: Inner
104PenaltyBreakAssignment: 2
105PenaltyBreakBeforeFirstCallParameter: 19
106PenaltyBreakComment: 300
107PenaltyBreakFirstLessLess: 120
108PenaltyBreakString: 1000
109PenaltyBreakTemplateDeclaration: 10
110PenaltyExcessCharacter: 1000000
111PenaltyReturnTypeOnItsOwnLine: 60
112PenaltyIndentedWhitespace: 0
113PointerAlignment: Left
114ReferenceAlignment: Pointer
115ReflowComments: true
116SpacesInLineCommentPrefix:
117 Maximum: -1
118 Minimum: 0
119ShortNamespaceLines: 0
120# Sort**** is about sorting include/using statements alphabetically
121SortIncludes: false
122SortUsingDeclarations: false
123SpaceAfterCStyleCast: false
124SpaceAfterLogicalNot: false
125SpaceAfterTemplateKeyword: false
126SpaceBeforeAssignmentOperators: true
127SpaceBeforeCaseColon: false
128SpaceBeforeCpp11BracedList: true
129SpaceBeforeCtorInitializerColon: true
130SpaceBeforeInheritanceColon: true
131SpaceBeforeParens: ControlStatements
132SpaceAroundPointerQualifiers: Default
133SpaceBeforeRangeBasedForLoopColon: true
134SpaceInEmptyBlock: false
135SpaceInEmptyParentheses: false
136SpacesBeforeTrailingComments: 1
137SpacesInAngles: false
138SpacesInConditionalStatement: false
139SpacesInContainerLiterals: false
140SpacesInCStyleCastParentheses: false
141SpacesInParentheses: false
142SpacesInSquareBrackets: false
143SpaceBeforeSquareBrackets: false
144Standard: c++11
145StatementAttributeLikeMacros: [emit]
146StatementMacros: [Q_UNUSED, QT_REQUIRE_VERSION]
147TabWidth: 4
148UseCRLF: false
149UseTab: Never
150WhitespaceSensitiveMacros:
151 - PRIPSTR
152 - STRINGIZE
153 - PP_STRINGIZE
154 - BOOST_PP_STRINGIZE
155 - NS_SWIFT_NAME
156 - CF_SWIFT_NAME