diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2019-07-24 20:06:22 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2019-08-03 21:31:44 +0200 |
commit | 88495639de9f4a6c07e248d41de84bcc1ea28ae9 (patch) | |
tree | 61f138775a11775dc6e0890938c8f8166fea9871 /expat/.clang-format | |
parent | 91abe04b2f828d30d19830d9beeabbc9aad337dd (diff) | |
download | libexpat-git-88495639de9f4a6c07e248d41de84bcc1ea28ae9.tar.gz |
.clang-format: Tune
Diffstat (limited to 'expat/.clang-format')
-rw-r--r-- | expat/.clang-format | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/expat/.clang-format b/expat/.clang-format index 838938dd..94d4d2b5 100644 --- a/expat/.clang-format +++ b/expat/.clang-format @@ -14,12 +14,12 @@ AllowAllConstructorInitializersOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: All +AllowShortFunctionsOnASingleLine: InlineOnly AllowShortLambdasOnASingleLine: All AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None -AlwaysBreakAfterReturnType: None +AlwaysBreakAfterReturnType: AllDefinitions AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: MultiLine BinPackArguments: true @@ -41,7 +41,7 @@ BraceWrapping: SplitEmptyFunction: true SplitEmptyRecord: true SplitEmptyNamespace: true -BreakBeforeBinaryOperators: None +BreakBeforeBinaryOperators: All BreakBeforeBraces: Attach BreakBeforeInheritanceComma: false BreakInheritanceList: BeforeColon @@ -49,7 +49,7 @@ BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: false BreakConstructorInitializers: BeforeColon BreakAfterJavaFieldAnnotations: false -BreakStringLiterals: true +BreakStringLiterals: false ColumnLimit: 80 CommentPragmas: '^ IWYU pragma:' CompactNamespaces: false @@ -75,12 +75,12 @@ IncludeCategories: Priority: 1 IncludeIsMainRegex: '(Test)?$' IndentCaseLabels: false -IndentPPDirectives: None +IndentPPDirectives: AfterHash IndentWidth: 2 IndentWrappedFunctionNames: false JavaScriptQuotes: Leave JavaScriptWrapImports: true -KeepEmptyLinesAtTheStartOfBlocks: true +KeepEmptyLinesAtTheStartOfBlocks: false MacroBlockBegin: '' MacroBlockEnd: '' MaxEmptyLinesToKeep: 1 @@ -99,10 +99,10 @@ PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right ReflowComments: true -SortIncludes: true -SortUsingDeclarations: true +SortIncludes: false +SortUsingDeclarations: false SpaceAfterCStyleCast: false -SpaceAfterLogicalNot: false +SpaceAfterLogicalNot: true SpaceAfterTemplateKeyword: true SpaceBeforeAssignmentOperators: true SpaceBeforeCpp11BracedList: false @@ -113,11 +113,11 @@ SpaceBeforeRangeBasedForLoopColon: true SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 1 SpacesInAngles: false -SpacesInContainerLiterals: true +SpacesInContainerLiterals: false SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false -Standard: Cpp11 +Standard: Cpp03 StatementMacros: - Q_UNUSED - QT_REQUIRE_VERSION |