nghttp2/.clang-format

127 lines
3.6 KiB
Plaintext
Raw Normal View History

---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
2019-12-18 06:23:43 +01:00
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
2017-11-23 06:16:42 +01:00
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
2019-12-18 06:23:43 +01:00
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
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
BinPackArguments: true
BinPackParameters: true
2019-12-18 06:23:43 +01:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
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
IndentBraces: false
2017-11-23 06:16:42 +01:00
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
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
DerivePointerAlignment: false
DisableFormat: false
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
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
- Regex: '^(<|"(gtest|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '$'
IndentCaseLabels: false
2018-06-09 09:21:30 +02:00
IndentPPDirectives: AfterHash
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
2019-01-11 16:11:19 +01:00
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
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
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
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
2019-01-11 16:11:19 +01:00
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
2019-01-11 16:11:19 +01:00
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
2019-12-18 06:23:43 +01:00
StatementMacros:
2019-05-18 03:27:42 +02:00
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseTab: Never
...