# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
# Easy way to check some of the flags: https://clangformat.com/
BasedOnStyle: Chromium
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true

# Prevents collapsing even short enums to one line
AllowShortEnumsOnASingleLine: false

# Aligns the enumerators vertically after the {
AlignAfterOpenBracket: Align
IndentWidth: 4
ColumnLimit: 120
AccessModifierOffset: -2
PointerAlignment: Left
SpacesBeforeTrailingComments: 1
BinPackParameters: true
Cpp11BracedListStyle: true
SortIncludes: false
# AlignArrayOfStructures: Left

Language: Cpp
Standard: c++17

# AlignArrayOfStructures: Left
# AllowShortBlocksOnASingleLine: Never
