Mercurial > minori
view .clang-format @ 150:ffa535b6d630
*: avoid usage of std::[pair,tuple]
https://arne-mertz.de/2017/03/smelly-pair-tuple/
it's better to use real structures and such where variables are easily known...
also apparently using [] on structs is actually valid? I had no idea.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:27:33 -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