aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
author ClarkeCode <clarke.john.robert@gmail.com>2023-04-27 22:13:52 +0200
committer ClarkeCode <clarke.john.robert@gmail.com>2023-04-27 22:13:52 +0200
commit0b273743b480874281a8987c72b2f1b666bc289a (patch)
tree3f5d5a6316ac66407e61c8a56fe732cdf06209e5 /.clang-format
parent98dd680a641a2cbe0f1f93202a5beffdfd35c9f7 (diff)
parent10053cf259c55ee45803268a844edf1011d8a16b (diff)
Merge branch 'main' of github.com:OpenVic2Project/OpenVic2 into goods
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format35
1 files changed, 35 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..8f3b82a
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,35 @@
+---
+UseCRLF: false
+Standard: c++20
+UseTab: Always
+TabWidth: 4
+SpacesInParentheses: false
+SpacesInSquareBrackets: false
+SpacesInContainerLiterals: false
+SpacesInConditionalStatement: false
+SpacesInCStyleCastParentheses: false
+SpacesInAngles: false
+SpaceInEmptyParentheses: false
+SpaceInEmptyBlock: false
+SpaceBeforeSquareBrackets: false
+SpaceBeforeRangeBasedForLoopColon: true
+SpaceBeforeParens: ControlStatements
+SpaceBeforeInheritanceColon: true
+SpaceBeforeCtorInitializerColon: true
+SpaceBeforeCpp11BracedList: true
+SpaceBeforeAssignmentOperators: true
+SpaceAfterTemplateKeyword: false
+SpaceAfterLogicalNot: false
+PointerAlignment: Left
+NamespaceIndentation: All
+IndentWidth: 4
+Language: Cpp
+IndentCaseLabels: true
+FixNamespaceComments: false
+Cpp11BracedListStyle: false
+ColumnLimit: 0
+CompactNamespaces: false
+BreakBeforeBraces: Attach
+AlwaysBreakTemplateDeclarations: Yes
+AlignTrailingComments: true
+AlignEscapedNewlines: Left