2021-10-06 01:54:36 +00:00
|
|
|
# using [clang-formt-12 options](https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html)
|
2020-06-02 06:53:06 +00:00
|
|
|
RawStringFormats:
|
2021-10-06 01:54:36 +00:00
|
|
|
- Language: Cpp
|
2020-06-02 06:53:06 +00:00
|
|
|
Delimiters:
|
|
|
|
- c
|
|
|
|
- C
|
|
|
|
- cc
|
|
|
|
- CC
|
|
|
|
- cpp
|
|
|
|
- Cpp
|
|
|
|
- CPP
|
|
|
|
- 'c++'
|
|
|
|
- 'C++'
|
|
|
|
- h
|
|
|
|
- hpp
|
|
|
|
CanonicalDelimiter: ''
|
2021-10-06 01:54:36 +00:00
|
|
|
BasedOnStyle: Mozilla
|
2020-04-07 03:04:46 +00:00
|
|
|
|
|
|
|
Language: Cpp
|
2020-06-02 06:53:06 +00:00
|
|
|
BasedOnStyle: Mozilla
|
2021-10-06 01:54:36 +00:00
|
|
|
# 6.1
|
2020-06-02 06:53:06 +00:00
|
|
|
IndentWidth: 4
|
2021-10-06 01:54:36 +00:00
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
# 6.2
|
|
|
|
TabWidth: 4
|
|
|
|
UseTab: Never
|
|
|
|
# 6.3
|
|
|
|
ColumnLimit: 80
|
|
|
|
# 6.9
|
2020-06-02 06:53:06 +00:00
|
|
|
AlignAfterOpenBracket: Align
|
2020-04-07 03:04:46 +00:00
|
|
|
BinPackArguments: true
|
2021-10-06 01:54:36 +00:00
|
|
|
BinPackParameters: true
|
|
|
|
# 6.10
|
2020-04-07 03:04:46 +00:00
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BraceWrapping:
|
2020-12-07 08:37:49 +00:00
|
|
|
AfterCaseLabel: true
|
2020-04-07 03:04:46 +00:00
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: false
|
2020-08-03 03:30:26 +00:00
|
|
|
AfterEnum: false
|
2020-04-07 03:04:46 +00:00
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: false
|
|
|
|
AfterObjCDeclaration: false
|
2020-06-02 06:53:06 +00:00
|
|
|
AfterStruct: false
|
2020-04-07 03:04:46 +00:00
|
|
|
AfterUnion: false
|
2020-06-02 06:53:06 +00:00
|
|
|
AfterExternBlock: false
|
2020-04-07 03:04:46 +00:00
|
|
|
BeforeCatch: false
|
2020-06-02 06:53:06 +00:00
|
|
|
BeforeElse: true
|
2020-04-07 03:04:46 +00:00
|
|
|
IndentBraces: false
|
|
|
|
SplitEmptyFunction: true
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
SplitEmptyNamespace: true
|
2021-10-06 01:54:36 +00:00
|
|
|
# 6.27
|
|
|
|
BreakBeforeBinaryOperators: NonAssignment
|
2020-04-07 03:04:46 +00:00
|
|
|
|
2021-10-06 01:54:36 +00:00
|
|
|
# additional
|
|
|
|
AlignEscapedNewlines: Left
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
AllowAllArgumentsOnNextLine: false
|
|
|
|
PointerAlignment: Right
|
|
|
|
SpaceAroundPointerQualifiers: After
|
|
|
|
SortIncludes: false
|