From 444bfa2f41143aff7490e4fa21565947565b7d30 Mon Sep 17 00:00:00 2001 From: nasr Date: Fri, 13 Mar 2026 22:31:21 +0100 Subject: cleanup: generalisation --- .clang-format | 104 ---------------------------------------------------------- 1 file changed, 104 deletions(-) delete mode 100644 .clang-format (limited to '.clang-format') diff --git a/.clang-format b/.clang-format deleted file mode 100644 index 0929f7f..0000000 --- a/.clang-format +++ /dev/null @@ -1,104 +0,0 @@ -BasedOnStyle: LLVM -Language: Cpp - -# ------------------------------------------------------------------- -# Indentation & layout -# ------------------------------------------------------------------- -IndentWidth: 2 -TabWidth: 2 -UseTab: Never -ContinuationIndentWidth: 2 - -IndentCaseLabels: true -IndentGotoLabels: true -IndentPPDirectives: None -IndentExternBlock: NoIndent - -# ------------------------------------------------------------------- -# Line breaking -# ------------------------------------------------------------------- -ColumnLimit: 0 - -AllowAllParametersOfDeclarationOnNextLine: false -AllowAllArgumentsOnNextLine: false - -AllowShortFunctionsOnASingleLine: None -AllowShortIfStatementsOnASingleLine: Never -AllowShortLoopsOnASingleLine: false -AllowShortBlocksOnASingleLine: Never -AllowShortCaseLabelsOnASingleLine: false - -AlwaysBreakAfterReturnType: All -AlwaysBreakTemplateDeclarations: No # harmless for C - -BreakBeforeBinaryOperators: None - -# ------------------------------------------------------------------- -# Braces (Allman style) -# ------------------------------------------------------------------- -BreakBeforeBraces: Allman - -BraceWrapping: - AfterCaseLabel: true - BeforeElse: true - BeforeCatch: true - SplitEmptyFunction: true - SplitEmptyRecord: true - SplitEmptyNamespace: true - -# NOTE: -# AfterControlStatement / AfterFunction / AfterStruct / AfterEnum / AfterUnion -# are IMPLIED by Allman and must NOT be redundantly specified. - -# ------------------------------------------------------------------- -# Spacing -# ------------------------------------------------------------------- -SpaceBeforeParens: ControlStatements -SpaceBeforeAssignmentOperators: true -SpaceBeforeRangeBasedForLoopColon: true # ignored in C, harmless - -SpacesInParentheses: false -SpacesInSquareBrackets: false -SpacesInAngles: false -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 1 - -PointerAlignment: Right -DerivePointerAlignment: false - -# ------------------------------------------------------------------- -# Alignment (explicitly disabled) -# ------------------------------------------------------------------- -AlignAfterOpenBracket: DontAlign -AlignOperands: false -AlignTrailingComments: false -AlignConsecutiveAssignments: false -AlignConsecutiveDeclarations: false -AlignEscapedNewlines: DontAlign - -# ------------------------------------------------------------------- -# Comments -# ------------------------------------------------------------------- -ReflowComments: Never -CommentPragmas: '^ dont touch:' -KeepEmptyLinesAtTheStartOfBlocks: false -MaxEmptyLinesToKeep: 1 - -# ------------------------------------------------------------------- -# Includes -# ------------------------------------------------------------------- -SortIncludes: Never -IncludeBlocks: Preserve - -# ------------------------------------------------------------------- -# Macros & preprocessor -# ------------------------------------------------------------------- -MacroBlockBegin: '' -MacroBlockEnd: '' -SpaceAfterCStyleCast: false - -# ------------------------------------------------------------------- -# C-specific -# ------------------------------------------------------------------- -Cpp11BracedListStyle: false -DisableFormat: false -- cgit v1.3