diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-07-15 21:05:19 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-07-15 21:05:19 +0200 |
| commit | 4f3760fc3b647fa166da4ab777eb612b14ac500b (patch) | |
| tree | 2f9faece24cac31f8dcb842572cdd9a486402637 /.clang-format | |
| parent | 0cf833840b19e603f480dead5ca211f947503f9b (diff) | |
| download | expat++-4f3760fc3b647fa166da4ab777eb612b14ac500b.tar.gz expat++-4f3760fc3b647fa166da4ab777eb612b14ac500b.tar.bz2 expat++-4f3760fc3b647fa166da4ab777eb612b14ac500b.zip | |
Umbau auf modernes C++
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..67bca59 --- /dev/null +++ b/.clang-format | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | --- | ||
| 2 | AccessModifierOffset: -4 | ||
| 3 | AlignConsecutiveAssignments: 'true' | ||
| 4 | AlignConsecutiveDeclarations: 'true' | ||
| 5 | AlignEscapedNewlines: Left | ||
| 6 | AlignTrailingComments: 'true' | ||
| 7 | AlwaysBreakAfterReturnType: TopLevelDefinitions | ||
| 8 | BreakBeforeBraces: Stroustrup | ||
| 9 | BreakConstructorInitializers: BeforeComma | ||
| 10 | BreakInheritanceList: BeforeComma | ||
| 11 | ColumnLimit: '0' | ||
| 12 | CompactNamespaces: 'false' | ||
| 13 | Cpp11BracedListStyle: 'false' | ||
| 14 | FixNamespaceComments: 'true' | ||
| 15 | IncludeBlocks: Regroup | ||
| 16 | IncludeCategories: | ||
| 17 | - Regex: '^.*(precomp|pch|stdafx)' | ||
| 18 | Priority: -1 | ||
| 19 | - Regex: '^<.*>' | ||
| 20 | Priority: 1 | ||
| 21 | - Regex: '^".*"' | ||
| 22 | Priority: 2 | ||
| 23 | - Regex: '.*' | ||
| 24 | Priority: 3 | ||
| 25 | IndentCaseLabels: 'false' | ||
| 26 | IndentPPDirectives: AfterHash | ||
| 27 | IndentWidth: '4' | ||
| 28 | IndentWrappedFunctionNames: 'false' | ||
| 29 | KeepEmptyLinesAtTheStartOfBlocks: 'false' | ||
| 30 | PointerAlignment: Left | ||
| 31 | SortIncludes: 'true' | ||
| 32 | SpaceAfterCStyleCast: 'true' | ||
| 33 | SpaceAfterTemplateKeyword: 'false' | ||
| 34 | SpaceBeforeAssignmentOperators: 'true' | ||
| 35 | SpaceBeforeParens: ControlStatements | ||
| 36 | SpaceBeforeRangeBasedForLoopColon: 'false' | ||
| 37 | SpaceInEmptyParentheses: 'false' | ||
| 38 | SpacesInAngles: 'false' | ||
| 39 | SpacesInCStyleCastParentheses: 'false' | ||
| 40 | SpacesInConditionalStatement: 'true' | ||
| 41 | SpacesInParentheses: 'false' | ||
| 42 | Standard: Auto | ||
| 43 | TabWidth: '4' | ||
| 44 | UseTab: ForIndentation | ||
| 45 | ... | ||
| 46 | |||
