# clang-format configuration for wlx_ifc
# Matches project C++17, MSVC/OpenGL codebase conventions.
---
BasedOnStyle: LLVM
IndentWidth: 4
UseTab: Never
ColumnLimit: 120
AccessModifierOffset: -4
BreakBeforeBraces: Attach
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Left
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: true
BreakConstructorInitializers: AfterColon
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
NamespaceIndentation: Inner
FixNamespaceComments: true
IndentPPDirectives: None
SpaceAfterTemplateKeyword: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
DeriveLineEnding: true
Standard: c++17
SortIncludes: false
SortUsingDeclarations: false
PenaltyReturnTypeOnItsOwnLine: 60
PenaltyExcessCharacter: 4
...
