BasedOnStyle: Google
IndentWidth: 4
MaxEmptyLinesToKeep: 3
AllowAllParametersOfDeclarationOnNextLine: true
BinPackArguments: false
BinPackParameters: false
AlwaysBreakAfterReturnType: None
AllowShortIfStatementsOnASingleLine: false
ColumnLimit: 120
AllowShortFunctionsOnASingleLine: None
AlwaysBreakTemplateDeclarations: true
CompactNamespaces: true
NamespaceIndentation: None
AlignAfterOpenBracket: Align
AccessModifierOffset: -4
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
BreakBeforeBraces: Custom
.clang-format在vscode中的配置
最新推荐文章于 2024-05-21 11:36:08 发布