diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-10-04 11:07:44 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2017-10-04 11:09:34 +0300 |
commit | c90c300e8233159c78288efd2f94f148d84f9af1 (patch) | |
tree | b6ebe4a0e86cfa636dc4d83cd62f9b736ad20299 | |
parent | 029aff3e8f868fa39055718cad7fe1210817428d (diff) |
[clang-format] Updated clang-format rules for ObjC.beta-1028
-rw-r--r-- | .clang-format | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index 7a0efad6ce..7a2c453032 100644 --- a/.clang-format +++ b/.clang-format @@ -8,9 +8,22 @@ ColumnLimit: 100 --- Language: ObjC +AccessModifierOffset: -2 +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true +AllowShortFunctionsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +BreakConstructorInitializersBeforeComma: true +ConstructorInitializerIndentWidth: 2 +DerivePointerAlignment: false +IndentCaseLabels: false +NamespaceIndentation: None +PointerAlignment: Middle +SortIncludes: true +Standard: Cpp11 ObjCBlockIndentWidth: 2 SpacesInContainerLiterals: false -AfterObjCDeclaration: true ObjCSpaceAfterProperty: false ObjCSpaceBeforeProtocolList: false |