diff options
Diffstat (limited to 'examples/redis-unstable/deps/jemalloc/.clang-format')
| -rw-r--r-- | examples/redis-unstable/deps/jemalloc/.clang-format | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/examples/redis-unstable/deps/jemalloc/.clang-format b/examples/redis-unstable/deps/jemalloc/.clang-format new file mode 100644 index 0000000..719c03c --- /dev/null +++ b/examples/redis-unstable/deps/jemalloc/.clang-format | |||
| @@ -0,0 +1,122 @@ | |||
| 1 | # jemalloc targets clang-format version 8. We include every option it supports | ||
| 2 | # here, but comment out the ones that aren't relevant for us. | ||
| 3 | --- | ||
| 4 | # AccessModifierOffset: -2 | ||
| 5 | AlignAfterOpenBracket: DontAlign | ||
| 6 | AlignConsecutiveAssignments: false | ||
| 7 | AlignConsecutiveDeclarations: false | ||
| 8 | AlignEscapedNewlines: Right | ||
| 9 | AlignOperands: false | ||
| 10 | AlignTrailingComments: false | ||
| 11 | AllowAllParametersOfDeclarationOnNextLine: true | ||
| 12 | AllowShortBlocksOnASingleLine: false | ||
| 13 | AllowShortCaseLabelsOnASingleLine: false | ||
| 14 | AllowShortFunctionsOnASingleLine: Empty | ||
| 15 | AllowShortIfStatementsOnASingleLine: false | ||
| 16 | AllowShortLoopsOnASingleLine: false | ||
| 17 | AlwaysBreakAfterReturnType: AllDefinitions | ||
| 18 | AlwaysBreakBeforeMultilineStrings: true | ||
| 19 | # AlwaysBreakTemplateDeclarations: Yes | ||
| 20 | BinPackArguments: true | ||
| 21 | BinPackParameters: true | ||
| 22 | BraceWrapping: | ||
| 23 | AfterClass: false | ||
| 24 | AfterControlStatement: false | ||
| 25 | AfterEnum: false | ||
| 26 | AfterFunction: false | ||
| 27 | AfterNamespace: false | ||
| 28 | AfterObjCDeclaration: false | ||
| 29 | AfterStruct: false | ||
| 30 | AfterUnion: false | ||
| 31 | BeforeCatch: false | ||
| 32 | BeforeElse: false | ||
| 33 | IndentBraces: false | ||
| 34 | # BreakAfterJavaFieldAnnotations: true | ||
| 35 | BreakBeforeBinaryOperators: NonAssignment | ||
| 36 | BreakBeforeBraces: Attach | ||
| 37 | BreakBeforeTernaryOperators: true | ||
| 38 | # BreakConstructorInitializers: BeforeColon | ||
| 39 | # BreakInheritanceList: BeforeColon | ||
| 40 | BreakStringLiterals: false | ||
| 41 | ColumnLimit: 80 | ||
| 42 | # CommentPragmas: '' | ||
| 43 | # CompactNamespaces: true | ||
| 44 | # ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
| 45 | # ConstructorInitializerIndentWidth: 4 | ||
| 46 | ContinuationIndentWidth: 2 | ||
| 47 | Cpp11BracedListStyle: true | ||
| 48 | DerivePointerAlignment: false | ||
| 49 | DisableFormat: false | ||
| 50 | ExperimentalAutoDetectBinPacking: false | ||
| 51 | FixNamespaceComments: true | ||
| 52 | ForEachMacros: [ ql_foreach, qr_foreach, ] | ||
| 53 | # IncludeBlocks: Preserve | ||
| 54 | # IncludeCategories: | ||
| 55 | # - Regex: '^<.*\.h(pp)?>' | ||
| 56 | # Priority: 1 | ||
| 57 | # IncludeIsMainRegex: '' | ||
| 58 | IndentCaseLabels: false | ||
| 59 | IndentPPDirectives: AfterHash | ||
| 60 | IndentWidth: 4 | ||
| 61 | IndentWrappedFunctionNames: false | ||
| 62 | # JavaImportGroups: [] | ||
| 63 | # JavaScriptQuotes: Leave | ||
| 64 | # JavaScriptWrapImports: True | ||
| 65 | KeepEmptyLinesAtTheStartOfBlocks: false | ||
| 66 | Language: Cpp | ||
| 67 | MacroBlockBegin: '' | ||
| 68 | MacroBlockEnd: '' | ||
| 69 | MaxEmptyLinesToKeep: 1 | ||
| 70 | # NamespaceIndentation: None | ||
| 71 | # ObjCBinPackProtocolList: Auto | ||
| 72 | # ObjCBlockIndentWidth: 2 | ||
| 73 | # ObjCSpaceAfterProperty: false | ||
| 74 | # ObjCSpaceBeforeProtocolList: false | ||
| 75 | |||
| 76 | PenaltyBreakAssignment: 2 | ||
| 77 | PenaltyBreakBeforeFirstCallParameter: 1 | ||
| 78 | PenaltyBreakComment: 300 | ||
| 79 | PenaltyBreakFirstLessLess: 120 | ||
| 80 | PenaltyBreakString: 1000 | ||
| 81 | # PenaltyBreakTemplateDeclaration: 10 | ||
| 82 | PenaltyExcessCharacter: 1000000 | ||
| 83 | PenaltyReturnTypeOnItsOwnLine: 60 | ||
| 84 | PointerAlignment: Right | ||
| 85 | # RawStringFormats: | ||
| 86 | # - Language: TextProto | ||
| 87 | # Delimiters: | ||
| 88 | # - 'pb' | ||
| 89 | # - 'proto' | ||
| 90 | # EnclosingFunctions: | ||
| 91 | # - 'PARSE_TEXT_PROTO' | ||
| 92 | # BasedOnStyle: google | ||
| 93 | # - Language: Cpp | ||
| 94 | # Delimiters: | ||
| 95 | # - 'cc' | ||
| 96 | # - 'cpp' | ||
| 97 | # BasedOnStyle: llvm | ||
| 98 | # CanonicalDelimiter: 'cc' | ||
| 99 | ReflowComments: true | ||
| 100 | SortIncludes: false | ||
| 101 | SpaceAfterCStyleCast: false | ||
| 102 | # SpaceAfterTemplateKeyword: true | ||
| 103 | SpaceBeforeAssignmentOperators: true | ||
| 104 | # SpaceBeforeCpp11BracedList: false | ||
| 105 | # SpaceBeforeCtorInitializerColon: true | ||
| 106 | # SpaceBeforeInheritanceColon: true | ||
| 107 | SpaceBeforeParens: ControlStatements | ||
| 108 | # SpaceBeforeRangeBasedForLoopColon: true | ||
| 109 | SpaceInEmptyParentheses: false | ||
| 110 | SpacesBeforeTrailingComments: 2 | ||
| 111 | SpacesInAngles: false | ||
| 112 | SpacesInCStyleCastParentheses: false | ||
| 113 | # SpacesInContainerLiterals: false | ||
| 114 | SpacesInParentheses: false | ||
| 115 | SpacesInSquareBrackets: false | ||
| 116 | # Standard: Cpp11 | ||
| 117 | # This is nominally supported in clang-format version 8, but not in the build | ||
| 118 | # used by some of the core jemalloc developers. | ||
| 119 | # StatementMacros: [] | ||
| 120 | TabWidth: 8 | ||
| 121 | UseTab: Never | ||
| 122 | ... | ||
