2023-08-18 10:33:11 -04:00
|
|
|
# Settings tested with clang-format 16
|
|
|
|
|
2018-04-30 14:51:58 -04:00
|
|
|
AccessModifierOffset: -4
|
2023-08-18 10:33:11 -04:00
|
|
|
AllowShortBlocksOnASingleLine: Always
|
2018-04-30 14:51:58 -04:00
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
|
AllowShortIfStatementsOnASingleLine: true
|
2023-08-18 10:33:11 -04:00
|
|
|
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
|
2018-04-30 14:51:58 -04:00
|
|
|
BreakConstructorInitializers: BeforeComma
|
2017-12-21 18:33:43 -05:00
|
|
|
ColumnLimit: 0
|
2018-04-30 14:51:58 -04:00
|
|
|
FixNamespaceComments: false
|
|
|
|
IndentWidth: 4
|
|
|
|
NamespaceIndentation: All
|
2017-12-21 18:33:43 -05:00
|
|
|
PointerBindsToType: true
|
2018-04-30 14:51:58 -04:00
|
|
|
SortIncludes: false
|
|
|
|
SpaceBeforeParens: Never
|
2023-08-18 10:33:11 -04:00
|
|
|
Standard: c++17
|
|
|
|
SpacesInLineCommentPrefix:
|
|
|
|
Minimum: 0
|
|
|
|
Maximum: -1
|
2018-04-30 14:51:58 -04:00
|
|
|
TabWidth: 4
|
|
|
|
UseTab: ForIndentation
|