2 Star 4 Fork 0

Gitee 极速下载/PrivacyGo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/tiktok-privacy-innovation/PrivacyGo
克隆/下载
.clang-format 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
PrivacyGo 提交于 2023-07-26 22:58 . feat: release dpca-psi 0.2.0.
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/PrivacyGo.git
git@gitee.com:mirrors/PrivacyGo.git
mirrors
PrivacyGo
PrivacyGo
main

搜索帮助