nghttp2/.clang-format

166 lines
4.6 KiB
Plaintext
Raw Permalink Normal View History

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