view .clang-format @ 164:99fdf5a90b0f

fd/linux: avoid reading buffers multiple times
author Paper <mrpapersonic@gmail.com>
date Sat, 18 Nov 2023 00:54:29 -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