transm/.clang-format

25 lines
608 B
Plaintext
Raw Normal View History

2024-12-11 08:44:14 +08:00
BasedOnStyle: LLVM
IndentWidth: 4
PointerAlignment: Left
AccessModifierOffset: -4
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterClass: true
2025-04-13 13:22:35 +08:00
AfterLambdaBody: false
BeforeLambdaBody: false
2024-12-11 08:44:14 +08:00
Cpp11BracedListStyle: true
ReflowComments: true
SpacesBeforeTrailingComments: 3
TabWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ColumnLimit: 110
2024-12-11 08:44:14 +08:00
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: None
AllowShortEnumsOnASingleLine: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*>'
Priority: 1
- Regex: '^".*"'
Priority: 2