view .clang-format @ 369:47c9f8502269

*: clang-format all the things I've edited the formatting a bit. Now pointer asterisks (and reference ampersands) are on the variable instead of the type, as well as having newlines for function braces (but nothing else)
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 10:16:02 -0400
parents 862d0d8619f6
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