diff options
| -rw-r--r-- | _clang-format | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/_clang-format b/_clang-format index 913819284..560efa208 100644 --- a/_clang-format +++ b/_clang-format @@ -5,11 +5,14 @@ ConstructorInitializerIndentWidth: 4 AlignEscapedNewlinesLeft: false AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: true AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: All AlwaysBreakTemplateDeclarations: true AlwaysBreakBeforeMultilineStrings: false BreakBeforeBinaryOperators: false +BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: true BinPackParameters: true ColumnLimit: 120 @@ -18,8 +21,11 @@ DerivePointerBinding: false ExperimentalAutoDetectBinPacking: false IndentCaseLabels: true MaxEmptyLinesToKeep: 3 +KeepEmptyLinesAtTheStartOfBlocks: true NamespaceIndentation: None +ObjCSpaceAfterProperty: false ObjCSpaceBeforeProtocolList: true +PenaltyBreakBeforeFirstCallParameter: 19 PenaltyBreakComment: 60 PenaltyBreakString: 1000 PenaltyBreakFirstLessLess: 120 @@ -35,9 +41,12 @@ UseTab: Never BreakBeforeBraces: Stroustrup IndentFunctionDeclarationAfterType: false SpacesInParentheses: false +SpacesInAngles: false SpaceInEmptyParentheses: false SpacesInCStyleCastParentheses: false +SpacesInContainerLiterals: true SpaceAfterControlStatementKeyword: true +ContinuationIndentWidth: 4 SpaceBeforeAssignmentOperators: true ... |
