diff options
author | fanquake <fanquake@gmail.com> | 2019-10-14 17:54:46 -0400 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-10-14 18:33:26 -0400 |
commit | dcc640811c8c1a0678a3c3726cb7df14f0a60250 (patch) | |
tree | 25aa37c65b7bc8406dd47df0304f2e6015eb4d54 /src | |
parent | b33c03b0cb82e57eb862542c9d331b7ceb8f3a62 (diff) | |
parent | c8961c7d9fed07190628cf01f9dfad971a942b99 (diff) |
Merge #17134: doc: Add switch on enum example to developer notes
c8961c7d9fed07190628cf01f9dfad971a942b99 doc: Add switch on enum example (Hennadii Stepanov)
11e3d5eb1d4a4b399b180083ec52484d53ebf724 util: Add AllowShortCaseLabelsOnASingleLine option (Hennadii Stepanov)
Pull request description:
This PR documents a recurring issue:
- #15938
- #17105
ACKs for top commit:
laanwj:
Seems like good advice to me. ACK c8961c7d9fed07190628cf01f9dfad971a942b99
practicalswift:
ACK c8961c7d9fed07190628cf01f9dfad971a942b99
promag:
ACK c8961c7d9fed07190628cf01f9dfad971a942b99, no excuse now, thanks!
Tree-SHA512: 530da5117094ed1bfaa6e447089521bd2c86b0742758dbacec4e4f934dc07b0e24f15a1448c4d58e49905e8fd3797d87bcae5669a346d33ed4c2878a04891699
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format index 38e19edf2c..aae039dd77 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -5,6 +5,7 @@ AlignEscapedNewlinesLeft: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: true AllowShortFunctionsOnASingleLine: All AllowShortIfStatementsOnASingleLine: true AllowShortLoopsOnASingleLine: false |