代码拉取完成,页面将自动刷新
IndentWidth: 4
TabWidth: 4
Language: Cpp
Standard: Cpp11
BasedOnStyle: Google
# indent
AccessModifierOffset: -4
ContinuationIndentWidth: 8
# align
BreakBeforeTernaryOperators: true
BreakBeforeBinaryOperators: false
AlignAfterOpenBracket: false
ColumnLimit: 120
# constructor
BreakConstructorInitializersBeforeComma: false
ConstructorInitializerIndentWidth: 8
ConstructorInitializerAllOnOneLineOrOnePerLine: true
# short block
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
Cpp11BracedListStyle: true
# other
AlwaysBreakTemplateDeclarations: true
DerivePointerAlignment: false
PointerAlignment: Left
# clang-format 3.9+
SortIncludes: true
BreakStringLiterals: false
ReflowComments: true
# custom
IncludeCategories:
# Matches common headers first, but sorts them after project includes
- Regex: '^<.*.h>'
Priority: 1
- Regex: '^<.*.hpp>'
Priority: 2
- Regex: '^<[^/]*>'
Priority: 2
- Regex: '^"dpca-psi/.*'
Priority: 4
- Regex: '^"ppam/.*'
Priority: 4
- Regex: '^".*'
Priority: 3
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。