kraken-assessment/.clang-format

27 lines
550 B
Plaintext
Raw Permalink Normal View History

2022-03-11 23:12:27 +01:00
# vim: ft=yaml
---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
# Force pointers to the type for C++.
DerivePointerAlignment: false
PointerAlignment: Left
# Short functions should not be on a single line, unless empty
AllowShortFunctionsOnASingleLine: Empty
# Make them level
AccessModifierOffset: -4
# It makes more sense this way
BreakBeforeBinaryOperators: All
BreakBeforeTernaryOperators: true
# Template declarations should be on their own lines
AlwaysBreakTemplateDeclarations: Yes
2022-03-11 23:12:27 +01:00
# Aesthetic
AlignOperands: AlignAfterOperator
---