2019-04-26 18:27:27 +03:00
|
|
|
---
|
2021-08-02 22:09:32 +03:00
|
|
|
Language: Cpp
|
2019-04-26 18:27:27 +03:00
|
|
|
AccessModifierOffset: -2
|
|
|
|
AlignAfterOpenBracket: AlwaysBreak
|
2021-08-02 22:09:32 +03:00
|
|
|
AlignConsecutiveMacros: false
|
2019-04-26 18:27:27 +03:00
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlines: DontAlign
|
2021-08-02 22:09:32 +03:00
|
|
|
AlignOperands: false
|
2019-04-26 18:27:27 +03:00
|
|
|
AlignTrailingComments: false
|
2021-08-02 22:09:32 +03:00
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
|
AllowAllConstructorInitializersOnNextLine: false
|
2019-04-26 18:27:27 +03:00
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
2021-08-02 22:09:32 +03:00
|
|
|
AllowShortBlocksOnASingleLine: Never
|
2019-04-26 18:27:27 +03:00
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
|
AllowShortFunctionsOnASingleLine: Empty
|
2021-08-02 22:09:32 +03:00
|
|
|
AllowShortLambdasOnASingleLine: All
|
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
2019-04-26 18:27:27 +03:00
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
2021-08-02 22:09:32 +03:00
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
2019-04-26 18:27:27 +03:00
|
|
|
BinPackArguments: false
|
|
|
|
BinPackParameters: false
|
2020-11-10 13:57:56 +03:00
|
|
|
BraceWrapping:
|
2021-08-02 22:09:32 +03:00
|
|
|
AfterCaseLabel: true
|
|
|
|
AfterClass: true
|
2019-04-26 18:27:27 +03:00
|
|
|
AfterControlStatement: true
|
2021-08-02 22:09:32 +03:00
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
2019-04-26 18:27:27 +03:00
|
|
|
AfterObjCDeclaration: true
|
2021-08-02 22:09:32 +03:00
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
2019-04-26 18:27:27 +03:00
|
|
|
AfterExternBlock: true
|
2021-08-02 22:09:32 +03:00
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
IndentBraces: false
|
2019-04-26 18:27:27 +03:00
|
|
|
SplitEmptyFunction: false
|
|
|
|
SplitEmptyRecord: false
|
|
|
|
SplitEmptyNamespace: false
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
BreakBeforeBraces: Custom
|
2021-08-02 22:09:32 +03:00
|
|
|
BreakInheritanceList: BeforeColon
|
2019-04-26 18:27:27 +03:00
|
|
|
BreakBeforeTernaryOperators: false
|
|
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
BreakStringLiterals: true
|
2021-08-02 22:09:32 +03:00
|
|
|
ColumnLimit: 80
|
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
2019-04-26 18:27:27 +03:00
|
|
|
CompactNamespaces: false
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
|
|
ConstructorInitializerIndentWidth: 2
|
|
|
|
ContinuationIndentWidth: 2
|
|
|
|
Cpp11BracedListStyle: true
|
2021-08-02 22:09:32 +03:00
|
|
|
DeriveLineEnding: true
|
2019-04-26 18:27:27 +03:00
|
|
|
DerivePointerAlignment: false
|
2021-08-02 22:09:32 +03:00
|
|
|
DisableFormat: false
|
2019-04-26 18:27:27 +03:00
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
FixNamespaceComments: false
|
|
|
|
ForEachMacros:
|
2019-09-03 19:24:38 +03:00
|
|
|
- FOREACH
|
2021-08-02 22:09:32 +03:00
|
|
|
- Q_FOREACH
|
|
|
|
- BOOST_FOREACH
|
|
|
|
IncludeBlocks: Regroup
|
2020-11-10 13:57:56 +03:00
|
|
|
IncludeCategories:
|
2021-08-02 22:09:32 +03:00
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 2
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
Priority: 3
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 1
|
|
|
|
SortPriority: 0
|
|
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
|
|
IncludeIsMainSourceRegex: ''
|
2019-04-26 18:27:27 +03:00
|
|
|
IndentCaseLabels: true
|
2021-08-02 22:09:32 +03:00
|
|
|
IndentGotoLabels: true
|
2019-04-26 18:27:27 +03:00
|
|
|
IndentPPDirectives: AfterHash
|
2021-08-02 22:09:32 +03:00
|
|
|
IndentWidth: 2
|
2019-04-26 18:27:27 +03:00
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
JavaScriptQuotes: Leave
|
|
|
|
JavaScriptWrapImports: true
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
2021-08-02 22:09:32 +03:00
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
2019-04-26 18:27:27 +03:00
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: All
|
2021-08-02 22:09:32 +03:00
|
|
|
ObjCBinPackProtocolList: Auto
|
2019-04-26 18:27:27 +03:00
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
PenaltyBreakAssignment: 2
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
2021-08-02 22:09:32 +03:00
|
|
|
PenaltyBreakTemplateDeclaration: 10
|
2019-04-26 18:27:27 +03:00
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 600
|
|
|
|
PointerAlignment: Left
|
2021-08-02 22:09:32 +03:00
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: true
|
2019-04-26 18:27:27 +03:00
|
|
|
SortUsingDeclarations: true
|
|
|
|
SpaceAfterCStyleCast: false
|
2021-08-02 22:09:32 +03:00
|
|
|
SpaceAfterLogicalNot: false
|
2019-04-26 18:27:27 +03:00
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
2021-08-02 22:09:32 +03:00
|
|
|
SpaceBeforeCpp11BracedList: false
|
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
|
SpaceBeforeInheritanceColon: true
|
2019-04-26 18:27:27 +03:00
|
|
|
SpaceBeforeParens: ControlStatements
|
2021-08-02 22:09:32 +03:00
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
SpaceInEmptyBlock: false
|
2019-04-26 18:27:27 +03:00
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 1
|
2021-08-02 22:09:32 +03:00
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInConditionalStatement: false
|
2019-04-26 18:27:27 +03:00
|
|
|
SpacesInContainerLiterals: false
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
2021-08-02 22:09:32 +03:00
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
|
Standard: c++20
|
|
|
|
StatementMacros:
|
|
|
|
- Q_UNUSED
|
|
|
|
- QT_REQUIRE_VERSION
|
|
|
|
TabWidth: 2
|
|
|
|
UseCRLF: false
|
|
|
|
UseTab: Never
|
2022-09-07 13:49:01 +03:00
|
|
|
---
|
|
|
|
Language: Proto
|
|
|
|
IndentWidth: 2
|
|
|
|
UseTab: Never
|
|
|
|
BreakBeforeBraces: Stroustrup
|
2021-08-02 22:09:32 +03:00
|
|
|
...
|