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