2021-11-27 19:16:51 +00:00
|
|
|
---
|
2021-11-25 11:45:38 +00:00
|
|
|
BasedOnStyle: Mozilla
|
|
|
|
AccessModifierOffset: '-4'
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveMacros: 'false'
|
|
|
|
AlignEscapedNewlines: Left
|
2021-11-25 19:23:55 +00:00
|
|
|
AlignOperands: 'true' #AlignAfterOperator
|
2021-11-25 11:45:38 +00:00
|
|
|
AlignTrailingComments: 'true'
|
|
|
|
AllowShortBlocksOnASingleLine: 'true'
|
|
|
|
AllowShortCaseLabelsOnASingleLine: 'true'
|
|
|
|
AllowShortFunctionsOnASingleLine: All
|
|
|
|
AllowShortIfStatementsOnASingleLine: 'true'
|
2021-11-27 17:44:51 +00:00
|
|
|
AllowShortLambdasOnASingleLine: Empty
|
2021-11-25 11:45:38 +00:00
|
|
|
AllowShortLoopsOnASingleLine: 'false'
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: 'false'
|
|
|
|
AlwaysBreakTemplateDeclarations: 'Yes'
|
|
|
|
BinPackArguments: 'true'
|
|
|
|
BinPackParameters: 'true'
|
2021-11-27 12:28:50 +00:00
|
|
|
BreakBeforeBraces: Custom
|
|
|
|
BraceWrapping:
|
|
|
|
AfterCaseLabel: 'true'
|
|
|
|
AfterClass: 'true'
|
|
|
|
AfterControlStatement: Always
|
|
|
|
AfterEnum: 'true'
|
|
|
|
AfterFunction: 'true'
|
|
|
|
AfterNamespace: 'true'
|
|
|
|
AfterObjCDeclaration: 'true'
|
|
|
|
AfterStruct: 'true'
|
|
|
|
AfterUnion: 'true'
|
|
|
|
AfterExternBlock: 'true'
|
|
|
|
BeforeCatch: 'true'
|
|
|
|
BeforeElse: 'true'
|
2021-11-27 19:16:51 +00:00
|
|
|
# BeforeLambdaBody: 'false'
|
2021-11-27 19:29:34 +00:00
|
|
|
# BeforeWhile: 'false'
|
2021-11-27 12:28:50 +00:00
|
|
|
IndentBraces: 'false'
|
|
|
|
SplitEmptyFunction: 'false'
|
|
|
|
SplitEmptyRecord: 'false'
|
|
|
|
SplitEmptyNamespace: 'false'
|
2021-11-25 11:45:38 +00:00
|
|
|
BreakBeforeTernaryOperators: 'false'
|
2021-11-25 19:23:55 +00:00
|
|
|
BreakBeforeBinaryOperators: 'false'
|
2021-11-25 11:45:38 +00:00
|
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
BreakInheritanceList: AfterColon
|
|
|
|
ColumnLimit: '0'
|
|
|
|
CompactNamespaces: 'false'
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
|
|
|
|
ContinuationIndentWidth: '2'
|
|
|
|
Cpp11BracedListStyle: 'true'
|
|
|
|
FixNamespaceComments: 'true'
|
|
|
|
IncludeBlocks: Regroup
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 2
|
|
|
|
SortPriority: 2
|
2021-11-29 10:40:41 +00:00
|
|
|
# CaseSensitive: true
|
2021-11-25 11:45:38 +00:00
|
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
Priority: 3
|
|
|
|
- Regex: '<[[:alnum:].]+>'
|
|
|
|
Priority: 4
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 1
|
|
|
|
SortPriority: 0
|
|
|
|
IndentCaseLabels: 'true'
|
|
|
|
IndentWidth: '4'
|
|
|
|
IndentWrappedFunctionNames: 'true'
|
|
|
|
Language: Cpp
|
|
|
|
MaxEmptyLinesToKeep: '3'
|
|
|
|
NamespaceIndentation: All
|
|
|
|
PointerAlignment: Left
|
|
|
|
ReflowComments: 'false'
|
|
|
|
SortIncludes: 'false'
|
|
|
|
SortUsingDeclarations: 'false'
|
|
|
|
SpaceAfterCStyleCast: 'false'
|
|
|
|
SpaceAfterLogicalNot: 'false'
|
|
|
|
SpaceAfterTemplateKeyword: 'false'
|
|
|
|
SpaceBeforeAssignmentOperators: 'true'
|
|
|
|
SpaceBeforeCpp11BracedList: 'false'
|
|
|
|
SpaceBeforeCtorInitializerColon: 'false'
|
|
|
|
SpaceBeforeInheritanceColon: 'true'
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceBeforeRangeBasedForLoopColon: 'true'
|
|
|
|
SpaceInEmptyParentheses: 'false'
|
|
|
|
SpacesBeforeTrailingComments: '1'
|
|
|
|
SpacesInAngles: 'false'
|
|
|
|
SpacesInCStyleCastParentheses: 'false'
|
|
|
|
SpacesInContainerLiterals: 'false'
|
|
|
|
SpacesInParentheses: 'false'
|
|
|
|
SpacesInSquareBrackets: 'false'
|
2021-11-27 12:28:50 +00:00
|
|
|
#SpacesInLineCommentPrefix:
|
|
|
|
# Minimum: 1
|
|
|
|
# Maximum: -1
|
2021-11-25 11:45:38 +00:00
|
|
|
Standard: Cpp11
|
|
|
|
TabWidth: '4'
|
2020-10-19 08:02:57 +00:00
|
|
|
UseTab: Never
|
|
|
|
|
|
|
|
...
|