ClickHouse
/
.clang-format
101 строка · 2.7 Кб
1BasedOnStyle: WebKit2Language: Cpp3AlignAfterOpenBracket: AlwaysBreak4BreakBeforeBraces: Custom5BraceWrapping:6AfterClass: true7AfterControlStatement: true8AfterEnum: true9AfterFunction: true10AfterNamespace: true11AfterStruct: true12AfterUnion: true13BeforeCatch: true14BeforeElse: true15BeforeLambdaBody: true16IndentBraces: false17BreakConstructorInitializersBeforeComma: false18Cpp11BracedListStyle: true19ColumnLimit: 14020ConstructorInitializerAllOnOneLineOrOnePerLine: true21ExperimentalAutoDetectBinPacking: true22UseTab: Never23TabWidth: 424Standard: Cpp1125PointerAlignment: Middle26MaxEmptyLinesToKeep: 227KeepEmptyLinesAtTheStartOfBlocks: false28AllowShortFunctionsOnASingleLine: InlineOnly29AlwaysBreakTemplateDeclarations: true30IndentCaseLabels: true31SpaceAfterTemplateKeyword: true32SpaceBeforeCpp11BracedList: false33SortIncludes: true34IndentPPDirectives: AfterHash35IncludeCategories:36- Regex: '^<[a-z_]+>'37Priority: 138- Regex: '^<[a-z_]+.h>'39Priority: 240- Regex: '^["<](common|ext|mysqlxx|daemon|zkutil)/'41Priority: 9042- Regex: '^["<](DB)/'43Priority: 10044- Regex: '^["<](Poco)/'45Priority: 5046- Regex: '^"'47Priority: 11048- Regex: '/'49Priority: 3050- Regex: '.*'51Priority: 4052ReflowComments: false53AlignEscapedNewlinesLeft: false54AlignEscapedNewlines: DontAlign55AlignTrailingComments: false56
57# Not changed:
58AccessModifierOffset: -459AlignConsecutiveAssignments: false60AlignOperands: false61AllowAllParametersOfDeclarationOnNextLine: true62AllowShortBlocksOnASingleLine: false63AllowShortCaseLabelsOnASingleLine: false64AllowShortIfStatementsOnASingleLine: false65AllowShortLoopsOnASingleLine: false66AlwaysBreakAfterDefinitionReturnType: None67AlwaysBreakBeforeMultilineStrings: false68BinPackArguments: false69BinPackParameters: false70BreakBeforeBinaryOperators: All71BreakBeforeTernaryOperators: true72CommentPragmas: '^ IWYU pragma:'73ConstructorInitializerIndentWidth: 474ContinuationIndentWidth: 475DerivePointerAlignment: false76DisableFormat: false77IndentRequiresClause: false78IndentWidth: 479IndentWrappedFunctionNames: false80MacroBlockBegin: ''81MacroBlockEnd: ''82NamespaceIndentation: None83ObjCBlockIndentWidth: 484ObjCSpaceAfterProperty: true85ObjCSpaceBeforeProtocolList: true86PenaltyBreakBeforeFirstCallParameter: 1987PenaltyBreakComment: 30088PenaltyBreakFirstLessLess: 12089PenaltyBreakString: 100090PenaltyExcessCharacter: 100000091PenaltyReturnTypeOnItsOwnLine: 6092RemoveBracesLLVM: true93SpaceAfterCStyleCast: false94SpaceBeforeAssignmentOperators: true95SpaceBeforeParens: ControlStatements96SpaceInEmptyParentheses: false97SpacesBeforeTrailingComments: 198SpacesInContainerLiterals: true99SpacesInCStyleCastParentheses: false100SpacesInParentheses: false101SpacesInSquareBrackets: false102