third_party_nghttp2/.clang-format

192 lines
5.3 KiB
Plaintext
Raw Normal View History

---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
2022-04-03 12:36:56 +00:00
AlignArrayOfStructures: None
2021-08-04 06:02:20 +00:00
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
2017-11-23 05:16:42 +00:00
AlignEscapedNewlines: Right
2021-08-04 06:02:20 +00:00
AlignOperands: Align
AlignTrailingComments: true
2019-12-18 05:23:43 +00:00
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
2021-08-04 06:02:20 +00:00
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
2019-12-18 05:23:43 +00:00
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
2019-01-11 15:11:19 +00:00
AlwaysBreakTemplateDeclarations: MultiLine
2021-08-04 06:02:20 +00:00
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
2019-12-18 05:23:43 +00:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
2021-08-04 06:02:20 +00:00
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
2018-06-09 07:20:27 +00:00
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
2021-08-04 06:02:20 +00:00
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
2017-11-23 05:16:42 +00:00
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
2021-08-04 06:02:20 +00:00
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Attach
2017-11-23 05:16:42 +00:00
BreakBeforeInheritanceComma: false
2019-01-11 15:11:19 +00:00
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
2017-11-23 05:16:42 +00:00
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
2022-04-03 12:36:56 +00:00
QualifierAlignment: Leave
2017-11-23 05:16:42 +00:00
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
2021-08-04 06:02:20 +00:00
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
2022-04-03 12:36:56 +00:00
EmptyLineAfterAccessModifier: Never
2021-08-04 06:02:20 +00:00
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
2022-04-03 12:36:56 +00:00
PackConstructorInitializers: NextLine
BasedOnStyle: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowAllConstructorInitializersOnNextLine: true
2017-11-23 05:16:42 +00:00
FixNamespaceComments: true
2019-12-18 05:23:43 +00:00
ForEachMacros:
2017-11-23 05:16:42 +00:00
- foreach
- Q_FOREACH
- BOOST_FOREACH
2022-04-03 12:36:56 +00:00
IfMacros:
- KJ_IF_MAYBE
2018-06-09 07:20:27 +00:00
IncludeBlocks: Preserve
2019-12-18 05:23:43 +00:00
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
2021-08-04 06:02:20 +00:00
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 3
2021-08-04 06:02:20 +00:00
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
2021-08-04 06:02:20 +00:00
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '$'
2021-08-04 06:02:20 +00:00
IncludeIsMainSourceRegex: ''
2022-04-03 12:36:56 +00:00
IndentAccessModifiers: false
IndentCaseLabels: false
2021-08-04 06:02:20 +00:00
IndentCaseBlocks: false
IndentGotoLabels: true
2018-06-09 07:21:30 +00:00
IndentPPDirectives: AfterHash
2021-08-04 06:02:20 +00:00
IndentExternBlock: AfterExternBlock
IndentRequires: false
IndentWidth: 2
IndentWrappedFunctionNames: false
2021-08-04 06:02:20 +00:00
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
2022-04-03 12:36:56 +00:00
LambdaBodyIndentation: Signature
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
2019-01-11 15:11:19 +00:00
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
2021-08-04 06:02:20 +00:00
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
2017-11-23 05:16:42 +00:00
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
2022-04-03 12:36:56 +00:00
PenaltyBreakOpenParenthesis: 0
PenaltyBreakString: 1000
2019-01-11 15:11:19 +00:00
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
2021-08-04 06:02:20 +00:00
PenaltyIndentedWhitespace: 0
PointerAlignment: Right
2022-04-03 12:36:56 +00:00
PPIndentWidth: -1
ReferenceAlignment: Pointer
ReflowComments: true
2022-04-03 12:36:56 +00:00
RemoveBracesLLVM: false
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SortIncludes: Never
2021-08-04 06:02:20 +00:00
SortJavaStaticImport: Before
2017-11-23 05:16:42 +00:00
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
2019-12-18 05:23:43 +00:00
SpaceAfterLogicalNot: false
2017-04-30 06:45:53 +00:00
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
2021-08-04 06:02:20 +00:00
SpaceBeforeCaseColon: false
2019-01-11 15:11:19 +00:00
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
2022-04-03 12:36:56 +00:00
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
BeforeNonEmptyParentheses: false
2021-08-04 06:02:20 +00:00
SpaceAroundPointerQualifiers: Default
2019-01-11 15:11:19 +00:00
SpaceBeforeRangeBasedForLoopColon: true
2021-08-04 06:02:20 +00:00
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
2022-04-03 12:36:56 +00:00
SpacesInAngles: Never
2021-08-04 06:02:20 +00:00
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
2022-04-03 12:36:56 +00:00
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParentheses: false
SpacesInSquareBrackets: false
2021-08-04 06:02:20 +00:00
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
2022-04-03 12:36:56 +00:00
StatementAttributeLikeMacros:
- Q_EMIT
2019-12-18 05:23:43 +00:00
StatementMacros:
2019-05-18 01:27:42 +00:00
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
2021-08-04 06:02:20 +00:00
UseCRLF: false
UseTab: Never
2021-08-04 06:02:20 +00:00
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
- NS_SWIFT_NAME
- CF_SWIFT_NAME
...