view .clang-format @ 247:1ae4d8b28a5c

autotools/windres: use AC_PROG_SED for sed sed is actually surprisingly unportable. on mingw this shouldn't be a problem, but alas, we should use it anyway
author Paper <mrpapersonic@gmail.com>
date Wed, 24 Jan 2024 20:15:35 -0500
parents bc8d2ccff09c
children 862d0d8619f6
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: Cpp17