aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
author ClarkeCode <33846391+ClarkeCode@users.noreply.github.com>2023-04-24 03:59:34 +0200
committer GitHub <noreply@github.com>2023-04-24 03:59:34 +0200
commit40b981ec11818a245603885bddcf5fd1503abf63 (patch)
treeb747b6732860e67d06f5e80116e236c30cae8886 /.clang-format
parent3108e213c4fd8bf3f185b656c3c0e6dc17d1bde0 (diff)
parent3d80b47304ac48018cc6ef2da557ee960e83011d (diff)
Merge pull request #96 from OpenVic2Project/clang-format
Altering .clang-format to make compliant with clang-format 10.0.0
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format21
1 files changed, 4 insertions, 17 deletions
diff --git a/.clang-format b/.clang-format
index fff079a..8f3b82a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -5,44 +5,31 @@ UseTab: Always
TabWidth: 4
SpacesInParentheses: false
SpacesInSquareBrackets: false
-SpacesInLineCommentPrefix:
- Minimum: 1
SpacesInContainerLiterals: false
SpacesInConditionalStatement: false
SpacesInCStyleCastParentheses: false
-SpacesInAngles: Never
+SpacesInAngles: false
SpaceInEmptyParentheses: false
SpaceInEmptyBlock: false
SpaceBeforeSquareBrackets: false
SpaceBeforeRangeBasedForLoopColon: true
-SpaceBeforeParensOptions:
- AfterControlStatements: true
- AfterFunctionDeclarationName: false
- BeforeNonEmptyParentheses: false
SpaceBeforeParens: ControlStatements
SpaceBeforeInheritanceColon: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeCpp11BracedList: true
-SpaceBeforeCaseColon: false
SpaceBeforeAssignmentOperators: true
-SpaceAroundPointerQualifiers: Before
SpaceAfterTemplateKeyword: false
SpaceAfterLogicalNot: false
-RemoveBracesLLVM: false
-ReferenceAlignment: Left
PointerAlignment: Left
NamespaceIndentation: All
-LineEnding: LF
+IndentWidth: 4
Language: Cpp
-InsertNewlineAtEOF: true
-IndentExternBlock: Indent
IndentCaseLabels: true
FixNamespaceComments: false
Cpp11BracedListStyle: false
+ColumnLimit: 0
CompactNamespaces: false
BreakBeforeBraces: Attach
AlwaysBreakTemplateDeclarations: Yes
-AlignTrailingComments:
- Kind: Always
+AlignTrailingComments: true
AlignEscapedNewlines: Left
-AlignArrayOfStructures: Right