summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2024-10-06 12:58:03 +0200
committerThomas Schmucker <ts@its1.de>2024-10-06 12:58:03 +0200
commitd2a6897f05a07a058b2185c953b30d26fded081b (patch)
tree288165ea13e071ac50ae42f8ff4a5ec7d2fb9334 /.clang-format
downloaduse-mosquitto-d2a6897f05a07a058b2185c953b30d26fded081b.tar.gz
use-mosquitto-d2a6897f05a07a058b2185c953b30d26fded081b.tar.bz2
use-mosquitto-d2a6897f05a07a058b2185c953b30d26fded081b.zip
erster Import
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format45
1 files changed, 45 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..b32bad6
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,45 @@
1---
2AccessModifierOffset: -4
3AlignConsecutiveAssignments: 'true'
4AlignConsecutiveDeclarations: 'true'
5AlignEscapedNewlines: Left
6AlignTrailingComments: 'true'
7AlwaysBreakAfterReturnType: TopLevelDefinitions
8BreakBeforeBraces: Stroustrup
9BreakConstructorInitializers: BeforeComma
10BreakInheritanceList: BeforeComma
11ColumnLimit: '0'
12CompactNamespaces: 'false'
13Cpp11BracedListStyle: 'false'
14FixNamespaceComments: 'true'
15IncludeBlocks: Regroup
16IncludeCategories:
17 - Regex: '^.*(precomp|pch|stdafx)'
18 Priority: -1
19 - Regex: '^<.*>'
20 Priority: 1
21 - Regex: '^".*"'
22 Priority: 2
23 - Regex: '.*'
24 Priority: 3
25IndentCaseLabels: 'false'
26IndentPPDirectives: AfterHash
27IndentWidth: '4'
28IndentWrappedFunctionNames: 'false'
29KeepEmptyLinesAtTheStartOfBlocks: 'false'
30PointerAlignment: Right
31SortIncludes: 'true'
32SpaceAfterCStyleCast: 'true'
33SpaceAfterTemplateKeyword: 'false'
34SpaceBeforeAssignmentOperators: 'true'
35SpaceBeforeParens: ControlStatements
36SpaceBeforeRangeBasedForLoopColon: 'false'
37SpaceInEmptyParentheses: 'false'
38SpacesInAngles: 'false'
39SpacesInCStyleCastParentheses: 'false'
40SpacesInConditionalStatement: 'true'
41SpacesInParentheses: 'false'
42Standard: Auto
43TabWidth: '4'
44UseTab: ForIndentation
45...