summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2025-06-15 09:40:02 +0200
committerThomas Schmucker <ts@its1.de>2025-06-15 09:40:02 +0200
commit97deedd97a1d026586afa23d47a00322bcd22e59 (patch)
tree74adfa72390caeef30357ae17771afafe0dfca93 /.clang-format
parent7bf6bc9385adff81f0f66962630bdd60572d5c57 (diff)
downloaduse-bcrypt-97deedd97a1d026586afa23d47a00322bcd22e59.tar.gz
use-bcrypt-97deedd97a1d026586afa23d47a00322bcd22e59.tar.bz2
use-bcrypt-97deedd97a1d026586afa23d47a00322bcd22e59.zip
Update auf neue lua-bcrypt version
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...