view .clang-format @ 373:fbc8c617de80

dep/animone: exception handling is the worst c++ anti-feature
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 11:03:05 -0400
parents 47c9f8502269
children
line wrap: on
line source

---
BasedOnStyle: LLVM
UseTab: ForIndentation
PointerAlignment: Right
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
PPIndentWidth: 1

# hack!!!
AccessModifierOffset: -4

IndentCaseLabels: true
IndentAccessModifiers: false
IndentPPDirectives: AfterHash

BreakBeforeBraces: WebKit
BreakStringLiterals: true

AlwaysBreakTemplateDeclarations: true

SpaceAfterTemplateKeyword: false

AlignAfterOpenBracket: Align
AlignArrayOfStructures: Left
AlignEscapedNewlines: DontAlign
AlignConsecutiveMacros: true

AllowShortIfStatementsOnASingleLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortCaseLabelsOnASingleLine: true

Cpp11BracedListStyle: true

---
Language: Cpp
Standard: c++17