This repository has been archived on 2026-07-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cmc/.clang-format
2025-04-13 21:48:15 +03:00

34 lines
850 B
YAML
Executable File

LineEnding: LF
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 120
# ColumnLimit: 80
UseTab: Never
SortIncludes: Never
SpaceAfterCStyleCast: true
IndentCaseLabels: false
InsertBraces: true
InsertNewlineAtEOF: true
IndentGotoLabels: false
AlwaysBreakAfterReturnType: AllDefinitions
AllowShortEnumsOnASingleLine: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Never
AfterEnum: true
AfterExternBlock: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true