From 0e631cd4f2fa6304f91e0214844d2064d8e394c1 Mon Sep 17 00:00:00 2001 From: ClarkeCode Date: Sun, 23 Apr 2023 14:43:14 -0400 Subject: Added a .clang-format for formatting use --- .clang-format | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..fff079a --- /dev/null +++ b/.clang-format @@ -0,0 +1,48 @@ +--- +UseCRLF: false +Standard: c++20 +UseTab: Always +TabWidth: 4 +SpacesInParentheses: false +SpacesInSquareBrackets: false +SpacesInLineCommentPrefix: + Minimum: 1 +SpacesInContainerLiterals: false +SpacesInConditionalStatement: false +SpacesInCStyleCastParentheses: false +SpacesInAngles: Never +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 +Language: Cpp +InsertNewlineAtEOF: true +IndentExternBlock: Indent +IndentCaseLabels: true +FixNamespaceComments: false +Cpp11BracedListStyle: false +CompactNamespaces: false +BreakBeforeBraces: Attach +AlwaysBreakTemplateDeclarations: Yes +AlignTrailingComments: + Kind: Always +AlignEscapedNewlines: Left +AlignArrayOfStructures: Right -- cgit v1.2.3-56-ga3b1