view .clang-format @ 141:14626691d0e1

linux: stop the preprocessor from mangling our definitions really?
author Paper <mrpapersonic@gmail.com>
date Sun, 12 Nov 2023 17:12:09 -0500
parents d02fdf1d6708
children bc8d2ccff09c
line wrap: on
line source

---
BasedOnStyle: LLVM
UseTab: ForIndentation
PointerAlignment: Left
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
AccessModifierOffset: 4

IndentCaseLabels: true
IndentAccessModifiers: true
IndentPPDirectives: AfterHash

BreakBeforeBraces: Attach
BreakStringLiterals: true

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

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

Cpp11BracedListStyle: true

---
Language: Cpp
Standard: Cpp11