Krolyxon
Commit 1d55752

Branches

Tags

Refs →

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

145 lines · 4.2 KB

1# See: https://releases.llvm.org/11.0.1/tools/clang/docs/ClangFormatStyleOptions.html
2---
3Language: Cpp
4# LLVM is the default style setting, used when a configuration option is not set here
5BasedOnStyle: LLVM
6AccessModifierOffset: -2
7AlignAfterOpenBracket: Align
8AlignConsecutiveAssignments: false
9AlignConsecutiveBitFields: false
10AlignConsecutiveDeclarations: false
11AlignConsecutiveMacros: false
12AlignEscapedNewlines: DontAlign
13AlignOperands: Align
14AlignTrailingComments: true
15AllowAllArgumentsOnNextLine: true
16AllowAllConstructorInitializersOnNextLine: true
17AllowAllParametersOfDeclarationOnNextLine: true
18AllowShortBlocksOnASingleLine: Always
19AllowShortCaseLabelsOnASingleLine: true
20AllowShortEnumsOnASingleLine: true
21AllowShortFunctionsOnASingleLine: Empty
22AllowShortIfStatementsOnASingleLine: Always
23AllowShortLambdasOnASingleLine: Empty
24AllowShortLoopsOnASingleLine: true
25AlwaysBreakAfterDefinitionReturnType: None
26AlwaysBreakAfterReturnType: None
27AlwaysBreakBeforeMultilineStrings: false
28AlwaysBreakTemplateDeclarations: No
29BinPackArguments: true
30BinPackParameters: true
31# Only used when "BreakBeforeBraces" set to "Custom"
32BraceWrapping:
33 AfterCaseLabel: false
34 AfterClass: false
35 AfterControlStatement: Never
36 AfterEnum: false
37 AfterFunction: false
38 AfterNamespace: false
39 #AfterObjCDeclaration:
40 AfterStruct: false
41 AfterUnion: false
42 AfterExternBlock: false
43 BeforeCatch: false
44 BeforeElse: false
45 BeforeLambdaBody: false
46 BeforeWhile: false
47 IndentBraces: false
48 SplitEmptyFunction: false
49 SplitEmptyRecord: false
50 SplitEmptyNamespace: false
51# Java-specific
52#BreakAfterJavaFieldAnnotations:
53BreakBeforeBinaryOperators: NonAssignment
54BreakBeforeBraces: Attach
55BreakBeforeTernaryOperators: true
56BreakConstructorInitializers: BeforeColon
57BreakInheritanceList: BeforeColon
58BreakStringLiterals: false
59ColumnLimit: 0
60# "" matches none
61CommentPragmas: ""
62CompactNamespaces: false
63ConstructorInitializerAllOnOneLineOrOnePerLine: true
64ConstructorInitializerIndentWidth: 2
65ContinuationIndentWidth: 2
66Cpp11BracedListStyle: false
67DeriveLineEnding: true
68DerivePointerAlignment: true
69DisableFormat: false
70# Docs say "Do not use this in config files". The default (LLVM 11.0.1) is "false".
71#ExperimentalAutoDetectBinPacking:
72FixNamespaceComments: false
73ForEachMacros: []
74IncludeBlocks: Preserve
75IncludeCategories: []
76# "" matches none
77IncludeIsMainRegex: ""
78IncludeIsMainSourceRegex: ""
79IndentCaseBlocks: true
80IndentCaseLabels: true
81IndentExternBlock: Indent
82IndentGotoLabels: false
83IndentPPDirectives: None
84IndentWidth: 2
85IndentWrappedFunctionNames: false
86InsertTrailingCommas: None
87# Java-specific
88#JavaImportGroups:
89# JavaScript-specific
90#JavaScriptQuotes:
91#JavaScriptWrapImports
92KeepEmptyLinesAtTheStartOfBlocks: true
93MacroBlockBegin: ""
94MacroBlockEnd: ""
95# Set to a large number to effectively disable
96MaxEmptyLinesToKeep: 100000
97NamespaceIndentation: None
98NamespaceMacros: []
99# Objective C-specific
100#ObjCBinPackProtocolList:
101#ObjCBlockIndentWidth:
102#ObjCBreakBeforeNestedBlockParam:
103#ObjCSpaceAfterProperty:
104#ObjCSpaceBeforeProtocolList
105PenaltyBreakAssignment: 1
106PenaltyBreakBeforeFirstCallParameter: 1
107PenaltyBreakComment: 1
108PenaltyBreakFirstLessLess: 1
109PenaltyBreakString: 1
110PenaltyBreakTemplateDeclaration: 1
111PenaltyExcessCharacter: 1
112PenaltyReturnTypeOnItsOwnLine: 1
113# Used as a fallback if alignment style can't be detected from code (DerivePointerAlignment: true)
114PointerAlignment: Right
115RawStringFormats: []
116ReflowComments: false
117SortIncludes: false
118SortUsingDeclarations: false
119SpaceAfterCStyleCast: false
120SpaceAfterLogicalNot: false
121SpaceAfterTemplateKeyword: false
122SpaceBeforeAssignmentOperators: true
123SpaceBeforeCpp11BracedList: false
124SpaceBeforeCtorInitializerColon: true
125SpaceBeforeInheritanceColon: true
126SpaceBeforeParens: ControlStatements
127SpaceBeforeRangeBasedForLoopColon: true
128SpaceBeforeSquareBrackets: false
129SpaceInEmptyBlock: false
130SpaceInEmptyParentheses: false
131SpacesBeforeTrailingComments: 2
132SpacesInAngles: false
133SpacesInCStyleCastParentheses: false
134SpacesInConditionalStatement: false
135SpacesInContainerLiterals: false
136SpacesInParentheses: false
137SpacesInSquareBrackets: false
138Standard: Auto
139StatementMacros: []
140TabWidth: 2
141TypenameMacros: []
142# Default to LF if line endings can't be detected from the content (DeriveLineEnding).
143UseCRLF: false
144UseTab: Never
145WhitespaceSensitiveMacros: []