代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。