Play-/.clang-format
Jean-Philip Desjardins a73b97f0be Update clang-format.
2023-08-18 10:33:11 -04:00

37 lines
869 B
YAML

# Settings tested with clang-format 16
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: Always
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterClass: true
AfterCaseLabel: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
AfterObjCDeclaration: true
AfterFunction: true
AfterNamespace: true
AfterControlStatement: Always
BeforeCatch: true
BeforeElse: true
BeforeWhile: false
SplitEmptyFunction: true
BeforeLambdaBody: false
BreakConstructorInitializers: BeforeComma
ColumnLimit: 0
FixNamespaceComments: false
IndentWidth: 4
NamespaceIndentation: All
PointerBindsToType: true
SortIncludes: false
SpaceBeforeParens: Never
Standard: c++17
SpacesInLineCommentPrefix:
Minimum: 0
Maximum: -1
TabWidth: 4
UseTab: ForIndentation