2023-09-01 04:58:32 -06:00
|
|
|
# Config for clang-format version 16
|
|
|
|
|
|
|
|
# Standard
|
|
|
|
BasedOnStyle: llvm
|
|
|
|
Standard: c++14
|
|
|
|
|
|
|
|
# Indentation
|
|
|
|
IndentWidth: 2
|
2023-09-01 11:39:25 -06:00
|
|
|
ColumnLimit: 140
|
2023-09-01 04:58:32 -06:00
|
|
|
|
|
|
|
# Includes
|
|
|
|
SortIncludes: true
|
|
|
|
SortUsingDeclarations: true
|
|
|
|
|
|
|
|
# Pointer and reference alignment
|
|
|
|
PointerAlignment: Left
|
|
|
|
ReferenceAlignment: Left
|
|
|
|
ReflowComments: true
|
|
|
|
|
|
|
|
# Line breaking options
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
BreakConstructorInitializers: BeforeColon
|
|
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
|
|
IndentCaseLabels: true
|
|
|
|
NamespaceIndentation: Inner
|
|
|
|
|