Files
arcs/arcs-sdk/modules/cpputest/.clang-format
2026-08-13 16:50:52 +08:00

42 lines
1014 B
YAML

---
Language: Cpp
Standard: Cpp03
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AllowShortBlocksOnASingleLine: Empty
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakBeforeMultilineStrings: true
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: Never
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: false
BeforeWhile: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakConstructorInitializers: AfterColon
ColumnLimit: 120
NamespaceIndentation: All
NamespaceMacros:
- TEST_GROUP
FixNamespaceComments: false
IndentPPDirectives: BeforeHash
IndentWidth: 4
IndentExternBlock: NoIndent
PackConstructorInitializers: CurrentLine
PointerAlignment: Left
SortIncludes: Never
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterForeachMacros: false