3 Star 6 Fork 0

Gitee 极速下载/freeablo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/wheybags/freeablo/
克隆/下载
.clang-format 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
Tom Mason 提交于 2020-01-23 17:49 . set FixNamespaceComments to false
Language: Cpp
Standard: Cpp11
ColumnLimit: 160
TabWidth: 4
IndentWidth: 4
UseTab: Never
# spaces settings
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeParens: ControlStatements # after if, while, for, but not function calls
#BreakConstructorInitializers: BeforeComma
# break before {, all the god damn time
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterUnion: true
AfterControlStatement: true
BeforeElse: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
BeforeCatch: true
IndentBraces: false
# WISHLIST: set AccessModifierOffset to 4, and "inside class indent" to 8, so
# you could get:
# class X
# {
# public:
# int foo();
# };
# We settle for aligning the access modier with the braces here.
AccessModifierOffset: -4
# single line settings
#AllowShortFunctionsOnASingleLine: Inline
#AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
# Misc indentation settings
IndentCaseLabels: true
NamespaceIndentation: All
# use one line per param in huge function calls / definitions
BinPackArguments: false
BinPackParameters: false
# misc alignment settings
AlignAfterOpenBracket: Align
DerivePointerAlignment: false
PointerAlignment: Left
FixNamespaceComments: false
# WISHLIST: for all the below, an "allow" option, instead of just true or false
# This would preserve alignment if it's already aligned, but not force it if it
# wasn't. Without that option, the amount of false positives make these useless
#AlignConsecutiveAssignments
#AlignConsecutiveDeclarations
#AlignEscapedNewlines
#AlignTrailingComments
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/freeablo.git
git@gitee.com:mirrors/freeablo.git
mirrors
freeablo
freeablo
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385