summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2020-07-05 11:54:28 +0200
committerThomas Schmucker <ts@its1.de>2020-07-05 11:54:28 +0200
commitdb6807fd6644b1e129008ff9622384cef4e48654 (patch)
tree1e7869a413caedcea433e051987df80bbb445403 /.clang-format
parent12b36ad95dc633648b6c93d7626e17a0016b4547 (diff)
downloadlibcsv-db6807fd6644b1e129008ff9622384cef4e48654.tar.gz
libcsv-db6807fd6644b1e129008ff9622384cef4e48654.tar.bz2
libcsv-db6807fd6644b1e129008ff9622384cef4e48654.zip
Formatiere den Quellcode mit clang-format
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...