1 Star 16 Fork 11

立创开发板/立创梁山派-天空星-GD32F407VET6版-DAPLINK

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.clang-format 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
yzh 提交于 2024-01-17 14:39 . -init
# using [clang-formt-12 options](https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html)
RawStringFormats:
- Language: Cpp
Delimiters:
- c
- C
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
- h
- hpp
CanonicalDelimiter: ''
BasedOnStyle: LLVM
Language: Cpp
BasedOnStyle: LLVM
# 6.1
IndentWidth: 4
ContinuationIndentWidth: 4
# 6.2
TabWidth: 4
UseTab: Never
# 6.3
ColumnLimit: 80
# 6.9
AlignAfterOpenBracket: Align
BinPackArguments: true
BinPackParameters: true
# 6.10
BreakBeforeBraces: Allman
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: true
# 6.27
BreakBeforeBinaryOperators: NonAssignment
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignTrailingComments: true
MaxEmptyLinesToKeep: 1
SpacesBeforeTrailingComments: 1
# additional
AlignEscapedNewlines: Left
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
PointerAlignment: Right
SpaceAroundPointerQualifiers: After
SortIncludes: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lcsc/SkyStar-GD32F407VET6-DAPLINK.git
git@gitee.com:lcsc/SkyStar-GD32F407VET6-DAPLINK.git
lcsc
SkyStar-GD32F407VET6-DAPLINK
立创梁山派-天空星-GD32F407VET6版-DAPLINK
master

搜索帮助